Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.0007121, allocations: 98.41 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002587, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2054, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003042/0.2085, allocations: 3.205 MB / 379.8 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2106, allocations: 2.152 MB / 382 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2108, allocations: 8.906 kB / 382 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.2112, allocations: 163.3 kB / 382.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2122, allocations: 0.8847 MB / 383 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.2129, allocations: 0.7613 MB / 383.8 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.2133, allocations: 475.2 kB / 384.2 MB, free: 39.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.2145, allocations: 1.214 MB / 385.5 MB, free: 37.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2148, allocations: 193.1 kB / 385.6 MB, free: 37.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.2151, allocations: 251.7 kB / 385.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.2151, allocations: 20.94 kB / 385.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.2155, allocations: 181.6 kB / 386.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.2156, allocations: 91.38 kB / 386.2 MB, free: 37.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.2157, allocations: 242.4 kB / 386.4 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.2163, allocations: 0.6795 MB / 387.1 MB, free: 36.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2164, allocations: 1.25 kB / 387.1 MB, free: 36.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2164, allocations: 0 / 387.1 MB, free: 36.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2164, allocations: 0 / 387.1 MB, free: 36.87 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001736/0.2181, allocations: 0.8286 MB / 387.9 MB, free: 36.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2182, allocations: 8.344 kB / 387.9 MB, free: 36.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.2219, allocations: 0.5936 MB / 388.5 MB, free: 35.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.2223, allocations: 329.4 kB / 388.8 MB, free: 35.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.2223, allocations: 41.69 kB / 388.9 MB, free: 35.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.2224, allocations: 56.38 kB / 388.9 MB, free: 35.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.2233, allocations: 0.5687 MB / 389.5 MB, free: 34.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.2233, allocations: 4 kB / 389.5 MB, free: 34.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.2234, allocations: 28 kB / 389.5 MB, free: 34.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2234, allocations: 12 kB / 389.6 MB, free: 34.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.2244, allocations: 0.6493 MB / 390.2 MB, free: 34.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.2269, allocations: 2.075 MB / 392.3 MB, free: 32.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2288, allocations: 3 MB / 395.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.2292, allocations: 270.1 kB / 395.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.2293, allocations: 89.53 kB / 395.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2293, allocations: 39 kB / 395.7 MB, free: 28.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.2293, allocations: 0 / 395.7 MB, free: 28.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001546/0.2309, allocations: 0.766 MB / 396.4 MB, free: 27.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2309, allocations: 59.78 kB / 396.5 MB, free: 27.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2311, allocations: 205 kB / 396.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2311, allocations: 33.7 kB / 396.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.2312, allocations: 244 kB / 397 MB, free: 26.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.2313, allocations: 165.6 kB / 397.1 MB, free: 26.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.2313, allocations: 8 kB / 397.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.2314, allocations: 338.8 kB / 397.5 MB, free: 26.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.2316, allocations: 165 kB / 397.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.2319, allocations: 287.6 kB / 397.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.2325, allocations: 486.2 kB / 398.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2325, allocations: 0 / 398.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008646/0.2334, allocations: 0.5981 MB / 399 MB, free: 24.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2334, allocations: 10.81 kB / 399 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2334, allocations: 4 kB / 399 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.2338, allocations: 80.8 kB / 399.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.2342, allocations: 115.8 kB / 399.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.2354, allocations: 1.648 MB / 400.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2357, allocations: 59.52 kB / 400.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.2358, allocations: 20 kB / 400.9 MB, free: 22.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2359, allocations: 173.7 kB / 401.1 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.236, allocations: 31.62 kB / 401.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009327/0.2369, allocations: 0.5474 MB / 401.7 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.2369, allocations: 15.88 kB / 401.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2369, allocations: 0 / 401.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.237, allocations: 11.97 kB / 401.7 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2383, allocations: 1.181 MB / 402.9 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2383, allocations: 4 kB / 402.9 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2386, allocations: 83.89 kB / 402.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.2389, allocations: 77.11 kB / 403 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2389, allocations: 15.98 kB / 403 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.24, allocations: 1.636 MB / 404.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.24, allocations: 11.91 kB / 404.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2411, allocations: 0.8336 MB / 405.5 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2412, allocations: 108.8 kB / 405.6 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.2413, allocations: 8 kB / 405.6 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2415, allocations: 23.98 kB / 405.7 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.2416, allocations: 40.33 kB / 405.7 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2416, allocations: 12 kB / 405.7 MB, free: 17.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.2417, allocations: 156.2 kB / 405.9 MB, free: 17.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2417, allocations: 0 / 405.9 MB, free: 17.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.2422, allocations: 151.5 kB / 406 MB, free: 17.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.2424, allocations: 139.2 kB / 406.1 MB, free: 17.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009075/0.2433, allocations: 0.6009 MB / 406.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2434, allocations: 0 / 406.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2438, allocations: 394.1 kB / 407.1 MB, free: 16.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.2442, allocations: 36.86 kB / 407.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2454, allocations: 1.134 MB / 408.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.2456, allocations: 0.8136 MB / 409.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.2458, allocations: 51.27 kB / 409.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.2459, allocations: 39.42 kB / 409.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2459, allocations: 0 / 409.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.00687/0.2528, allocations: 4.109 MB / 413.3 MB, free: 9.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches