Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 110.3 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 44.08 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2239, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003519/0.2274, allocations: 2.883 MB / 404.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.2284, allocations: 0.6699 MB / 405 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2285, allocations: 12 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.2287, allocations: 51.44 kB / 405 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.2289, allocations: 95.12 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2291, allocations: 95.81 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.2294, allocations: 378.3 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2297, allocations: 153.4 kB / 405.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.2299, allocations: 139.6 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2301, allocations: 159.2 kB / 406 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.2301, allocations: 36 kB / 406.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.489e-05/0.2302, allocations: 32 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.2303, allocations: 71.77 kB / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2304, allocations: 167.2 kB / 406.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.2307, allocations: 379.7 kB / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2307, allocations: 0 / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2308, allocations: 0 / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2308, allocations: 0 / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008865/0.2317, allocations: 0.6122 MB / 407.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2317, allocations: 8.031 kB / 407.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.2318, allocations: 36.56 kB / 407.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.2321, allocations: 263.7 kB / 407.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2321, allocations: 29.03 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.2322, allocations: 32.38 kB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.2327, allocations: 282.3 kB / 408 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2327, allocations: 3.984 kB / 408 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2327, allocations: 12 kB / 408 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2328, allocations: 8 kB / 408 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.2332, allocations: 198.5 kB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2346, allocations: 0.9713 MB / 409.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.235, allocations: 169.3 kB / 409.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2352, allocations: 76.81 kB / 409.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2352, allocations: 0 / 409.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2352, allocations: 38.56 kB / 409.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.2352, allocations: 0 / 409.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005464/0.2358, allocations: 217.5 kB / 409.6 MB, free: 452 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2358, allocations: 55.41 kB / 409.7 MB, free: 384 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.236, allocations: 214.9 kB / 409.9 MB, free: 160 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.2361, allocations: 29.7 kB / 409.9 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2362, allocations: 188.1 kB / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.2362, allocations: 67 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.2363, allocations: 53.64 kB / 410.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2364, allocations: 334.8 kB / 410.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2366, allocations: 59.97 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.2368, allocations: 110 kB / 410.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2372, allocations: 193.8 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2372, allocations: 0 / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004439/0.2376, allocations: 245 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2376, allocations: 8 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2377, allocations: 0 / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2377, allocations: 4 kB / 411.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.238, allocations: 67.89 kB / 411.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.238, allocations: 4 kB / 411.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.2381, allocations: 19.84 kB / 411.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2381, allocations: 11.98 kB / 411.3 MB, free: 14.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.2383, allocations: 149.8 kB / 411.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2383, allocations: 23.66 kB / 411.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.2387, allocations: 191.4 kB / 411.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2387, allocations: 0 / 411.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2387, allocations: 7.938 kB / 411.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.2388, allocations: 88.92 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2388, allocations: 4 kB / 411.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.239, allocations: 19.98 kB / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2391, allocations: 24 kB / 411.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006302/0.2397, allocations: 288.6 kB / 412 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006057/0.2403, allocations: 441.1 kB / 412.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001613/0.2405, allocations: 68.02 kB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.2407, allocations: 144.6 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Backend: time 7.91e-07/0.2407, allocations: 8 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.2413, allocations: 188.9 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 0.001267/0.2425, allocations: 1.248 MB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of Templates: time 0.005289/0.2478, allocations: 2.437 MB / 416.6 MB, free: 9.324 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches