Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001872/0.001872, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.001915/0.001915, allocations: 160.8 kB / 24.27 MB, free: 152 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.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.625 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.168e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.008787/0.008818, allocations: 3.634 MB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.01206, allocations: 1.429 MB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.01225, allocations: 12 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.0143, allocations: 0.7971 MB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01533, allocations: 385.8 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01658, allocations: 0.5331 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.01718, allocations: 469.8 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.01783, allocations: 362 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.01832, allocations: 299.3 kB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.01866, allocations: 211.4 kB / 280.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.01874, allocations: 40 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.01919, allocations: 207.6 kB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01933, allocations: 103.5 kB / 280.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.01953, allocations: 167.6 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.0205, allocations: 0.7008 MB / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.02051, allocations: 0 / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02051, allocations: 0 / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.02052, allocations: 4 kB / 281.5 MB, free: 8.473 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.002283/0.0228, allocations: 0.9677 MB / 282.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.02284, allocations: 15.98 kB / 282.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/0.0265, allocations: 0.5819 MB / 283.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.02693, allocations: 251.9 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.02698, allocations: 45.62 kB / 283.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.02708, allocations: 52.38 kB / 283.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.02809, allocations: 0.5163 MB / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.02811, allocations: 192 / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.02817, allocations: 32.12 kB / 283.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.02819, allocations: 16 kB / 284 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.02929, allocations: 0.54 MB / 284.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.0327, allocations: 1.709 MB / 286.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.03439, allocations: 0.5671 MB / 286.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.03476, allocations: 189 kB / 287 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.88e-05/0.03486, allocations: 24.48 kB / 287 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.03489, allocations: 41.89 kB / 287 MB, free: 2.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.0349, allocations: 4 kB / 287 MB, free: 2.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002086/0.03698, allocations: 0.7149 MB / 287.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.03703, allocations: 55.91 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.0373, allocations: 249.7 kB / 288 MB, free: 1.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.03733, allocations: 37.7 kB / 288.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.03755, allocations: 283.6 kB / 288.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.03772, allocations: 162.6 kB / 288.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.03789, allocations: 103.8 kB / 288.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.03818, allocations: 0.5157 MB / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.03848, allocations: 144.9 kB / 289.3 MB, free: 452 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.03888, allocations: 258.8 kB / 289.5 MB, free: 160 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.113/0.1519, allocations: 427.6 kB / 289.9 MB, free: 27.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1519, allocations: 1.25 kB / 290 MB, free: 27.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001025/0.1529, allocations: 0.5484 MB / 290.5 MB, free: 27.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1529, allocations: 6.344 kB / 290.5 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1529, allocations: 3.125 kB / 290.5 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.1534, allocations: 113.2 kB / 290.6 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.1538, allocations: 90.27 kB / 290.7 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1555, allocations: 2.537 MB / 293.2 MB, free: 25.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1558, allocations: 41.08 kB / 293.3 MB, free: 25.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.1558, allocations: 19.23 kB / 293.3 MB, free: 25.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.156, allocations: 216.5 kB / 293.5 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.1561, allocations: 43.56 kB / 293.6 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1571, allocations: 0.5276 MB / 294.1 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1571, allocations: 6.797 kB / 294.1 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1571, allocations: 3.234 kB / 294.1 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1571, allocations: 2.109 kB / 294.1 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.1586, allocations: 1.085 MB / 295.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1586, allocations: 1.094 kB / 295.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.1589, allocations: 74.16 kB / 295.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.1593, allocations: 113.1 kB / 295.4 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.1593, allocations: 17.97 kB / 295.4 MB, free: 24.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.161, allocations: 2.529 MB / 297.9 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.161, allocations: 5.188 kB / 297.9 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1621, allocations: 0.8322 MB / 298.7 MB, free: 21.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1622, allocations: 33.34 kB / 298.8 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.1622, allocations: 14.81 kB / 298.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1624, allocations: 12.28 kB / 298.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.1625, allocations: 44.19 kB / 298.9 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1626, allocations: 11.39 kB / 298.9 MB, free: 21.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.046e-05/0.1626, allocations: 171.5 kB / 299 MB, free: 21.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1626, allocations: 0 / 299 MB, free: 21.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005493/0.1632, allocations: 155.1 kB / 299.2 MB, free: 21.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002058/0.1634, allocations: 140.5 kB / 299.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.1643, allocations: 0.6215 MB / 299.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1643, allocations: 1.281 kB / 299.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.1648, allocations: 443.1 kB / 300.4 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1651, allocations: 39.34 kB / 300.4 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1662, allocations: 0.7787 MB / 301.2 MB, free: 20.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.1664, allocations: 202.6 kB / 301.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1666, allocations: 46.06 kB / 301.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.1666, allocations: 35.69 kB / 301.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1666, allocations: 1.438 kB / 301.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of Templates: time 0.009225/0.1759, allocations: 4.381 MB / 305.9 MB, free: 19.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.640258844010532]