Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002562/0.002562, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003019/0.003019, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.396e-05, allocations: 6.25 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.0103/0.01034, allocations: 3.639 MB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.0154, allocations: 1.429 MB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.01563, allocations: 8 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.01915, allocations: 0.801 MB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.02088, allocations: 373.9 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.02304, allocations: 0.5448 MB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.02402, allocations: 473.8 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.02526, allocations: 422.1 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.02602, allocations: 323.2 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.02657, allocations: 211.4 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.02669, allocations: 44 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.0274, allocations: 199.7 kB / 280.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.02757, allocations: 115.5 kB / 280.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.02793, allocations: 167.6 kB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.02958, allocations: 0.7164 MB / 281.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.02959, allocations: 0 / 281.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02959, allocations: 0 / 281.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.0296, allocations: 4 kB / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.004063/0.03367, allocations: 0.9832 MB / 282.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.03371, allocations: 11.98 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007331/0.04104, allocations: 0.582 MB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.04177, allocations: 255.9 kB / 283.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.939e-05/0.04184, allocations: 41.69 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.04202, allocations: 56.31 kB / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.0439, allocations: 0.5358 MB / 284.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.04394, allocations: 192 / 284.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/0.04404, allocations: 28.12 kB / 284.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.04407, allocations: 12 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.04625, allocations: 0.5478 MB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.05232, allocations: 1.719 MB / 286.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.05542, allocations: 0.5447 MB / 286.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.05631, allocations: 237 kB / 287.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.05646, allocations: 24.48 kB / 287.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.05652, allocations: 41.89 kB / 287.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/0.05652, allocations: 0 / 287.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.003356/0.05988, allocations: 0.6565 MB / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.05996, allocations: 59.91 kB / 287.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.06039, allocations: 253.7 kB / 288.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/0.06045, allocations: 33.69 kB / 288.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.06081, allocations: 279.7 kB / 288.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.06109, allocations: 174.5 kB / 288.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.06138, allocations: 95.84 kB / 288.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004717/0.06185, allocations: 0.5157 MB / 289.3 MB, free: 476 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.06242, allocations: 140.9 kB / 289.4 MB, free: 336 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.06321, allocations: 270.2 kB / 289.7 MB, free: 24 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1145/0.1777, allocations: 443.2 kB / 290.1 MB, free: 27.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1777, allocations: 0 / 290.1 MB, free: 27.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001082/0.1788, allocations: 0.5428 MB / 290.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1788, allocations: 7.766 kB / 290.7 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1788, allocations: 2.281 kB / 290.7 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/0.1793, allocations: 106.7 kB / 290.8 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.1797, allocations: 95.84 kB / 290.9 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.1812, allocations: 2.183 MB / 293 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.1814, allocations: 40.34 kB / 293.1 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.1814, allocations: 18.61 kB / 293.1 MB, free: 25.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0001846/0.1816, allocations: 221.4 kB / 293.3 MB, free: 25.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.1817, allocations: 39.97 kB / 293.3 MB, free: 25.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1827, allocations: 0.5203 MB / 293.9 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1827, allocations: 4.562 kB / 293.9 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1827, allocations: 2.312 kB / 293.9 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1827, allocations: 6.562 kB / 293.9 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.1842, allocations: 1.099 MB / 295 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1842, allocations: 1.031 kB / 295 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.1846, allocations: 82.14 kB / 295.1 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000374/0.1849, allocations: 102.1 kB / 295.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.185, allocations: 9.672 kB / 295.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.1863, allocations: 2.183 MB / 297.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1863, allocations: 0.6562 kB / 297.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.1875, allocations: 0.8397 MB / 298.2 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.1876, allocations: 33.91 kB / 298.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.1876, allocations: 8.328 kB / 298.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1878, allocations: 16.34 kB / 298.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1879, allocations: 38.27 kB / 298.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.188, allocations: 20.39 kB / 298.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.1881, allocations: 173.3 kB / 298.5 MB, free: 21.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1881, allocations: 0 / 298.5 MB, free: 21.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000519/0.1886, allocations: 148.8 kB / 298.6 MB, free: 21.93 MB / 266.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 (44): * Single equations (assignments): 43 * 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.00021/0.1888, allocations: 143.8 kB / 298.8 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1898, allocations: 0.6231 MB / 299.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1898, allocations: 0 / 299.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.1903, allocations: 436.3 kB / 299.8 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1907, allocations: 31.41 kB / 299.8 MB, free: 21.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1921, allocations: 0.8123 MB / 300.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1923, allocations: 203.5 kB / 300.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.1925, allocations: 45.47 kB / 300.9 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.1925, allocations: 36.91 kB / 300.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1925, allocations: 0 / 300.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of Templates: time 0.009484/0.202, allocations: 4.353 MB / 305.3 MB, free: 19.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.652473489986733]