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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001499, allocations: 120.9 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 247.1 MB, free: 4.164 MB / 190.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 51.91 kB / 358.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1419, allocations: 49.44 MB / 408.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.00684/0.1488, allocations: 2.886 MB / 411 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1508, allocations: 0.6738 MB / 411.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1511, allocations: 11.88 kB / 411.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1514, allocations: 63.42 kB / 411.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1517, allocations: 87.2 kB / 411.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1521, allocations: 91.81 kB / 411.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.1528, allocations: 370.5 kB / 412.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.1532, allocations: 153.3 kB / 412.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.1536, allocations: 143.5 kB / 412.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.154, allocations: 155.3 kB / 412.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.1541, allocations: 32 kB / 412.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1542, allocations: 35.94 kB / 412.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1543, allocations: 75.75 kB / 412.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.1546, allocations: 163.2 kB / 413 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.1553, allocations: 382.4 kB / 413.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1554, allocations: 4 kB / 413.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1554, allocations: 0 / 413.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1554, allocations: 0 / 413.4 MB, free: 1.457 MB / 334.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.001506/0.1569, allocations: 0.6156 MB / 414 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.157, allocations: 8.031 kB / 414 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1571, allocations: 44.69 kB / 414.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.1577, allocations: 263.9 kB / 414.3 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.1578, allocations: 25.03 kB / 414.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.1579, allocations: 32.33 kB / 414.4 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.1588, allocations: 282.3 kB / 414.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1589, allocations: 0 / 414.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.1589, allocations: 20 kB / 414.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.159, allocations: 8 kB / 414.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.1599, allocations: 210.5 kB / 414.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.1626, allocations: 0.9716 MB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.1632, allocations: 165.3 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1635, allocations: 80.77 kB / 416.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1636, allocations: 11.98 kB / 416.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.1637, allocations: 30.56 kB / 416.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 5.38e-06/0.1637, allocations: 0 / 416.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.1647, allocations: 219.7 kB / 416.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.1648, allocations: 55.34 kB / 416.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.1652, allocations: 211 kB / 416.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.1652, allocations: 33.7 kB / 416.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.1655, allocations: 192.4 kB / 416.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1656, allocations: 67.44 kB / 416.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1657, allocations: 45.7 kB / 416.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.166, allocations: 330.8 kB / 417.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1663, allocations: 55.97 kB / 417.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.1667, allocations: 122 kB / 417.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.1674, allocations: 185.8 kB / 417.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1674, allocations: 0 / 417.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009022/0.1683, allocations: 241.2 kB / 417.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.1684, allocations: 11.98 kB / 417.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1684, allocations: 0 / 417.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1684, allocations: 4.125 kB / 417.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.169, allocations: 63.91 kB / 417.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.169, allocations: 0 / 417.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.1693, allocations: 35.77 kB / 418 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1693, allocations: 8 kB / 418 MB, free: 12.58 MB / 350.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.0002284/0.1696, allocations: 145.7 kB / 418.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.1697, allocations: 23.86 kB / 418.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.1705, allocations: 196.4 kB / 418.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1705, allocations: 4 kB / 418.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1705, allocations: 0 / 418.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1705, allocations: 0 / 418.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.1712, allocations: 321.3 kB / 418.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1712, allocations: 0 / 418.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.1718, allocations: 47.97 kB / 418.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1718, allocations: 4 kB / 418.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1718, allocations: 4 kB / 418.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1718, allocations: 4 kB / 418.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1719, allocations: 0 / 418.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.173, allocations: 357.2 kB / 419.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1731, allocations: 104.9 kB / 419.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.1732, allocations: 4.188 kB / 419.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.1735, allocations: 19.98 kB / 419.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.1736, allocations: 15.98 kB / 419.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1736, allocations: 4 kB / 419.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.1739, allocations: 152.4 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1739, allocations: 0 / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006089/0.1745, allocations: 75.78 kB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0002177/0.1748, allocations: 107.2 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.1755, allocations: 163.8 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1755, allocations: 0 / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1759, allocations: 67.91 kB / 419.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.1765, allocations: 33.98 kB / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.179, allocations: 0.8549 MB / 420.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.1796, allocations: 0.7711 MB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1797, allocations: 23.44 kB / 421.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1797, allocations: 3.938 kB / 421.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Templates: time 0.008974/0.1887, allocations: 2.908 MB / 424.4 MB, free: 6.043 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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: 7.3213703819783404]