Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9543/0.9543, allocations: 177.1 MB / 205 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.709e-05, allocations: 2.312 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.01184/0.01187, allocations: 5.161 MB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.01798, allocations: 1.5 MB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.0186, allocations: 35.69 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.01907, allocations: 217.8 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.02185, allocations: 221.6 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.02281, allocations: 423.2 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.02407, allocations: 1.153 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.0246, allocations: 312.8 kB / 282 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.02539, allocations: 0.6079 MB / 282.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.02578, allocations: 294.9 kB / 282.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.0259, allocations: 84 kB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.02609, allocations: 107.9 kB / 283.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.02624, allocations: 219 kB / 283.3 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.02652, allocations: 319 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009114/0.02743, allocations: 0.7817 MB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02743, allocations: 0 / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02743, allocations: 0 / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.02745, allocations: 0 / 284.4 MB, free: 5.895 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001822/0.02928, allocations: 1.363 MB / 285.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.02932, allocations: 12.03 kB / 285.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.02974, allocations: 227.1 kB / 286 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.03068, allocations: 0.6317 MB / 286.6 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.03074, allocations: 70 kB / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.03086, allocations: 100 kB / 286.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.03224, allocations: 1.046 MB / 287.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.03228, allocations: 15.83 kB / 287.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.03235, allocations: 44 kB / 287.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.03237, allocations: 24 kB / 287.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.03318, allocations: 387.2 kB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1132/0.1464, allocations: 6.865 MB / 295.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.1468, allocations: 188.6 kB / 295.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.147, allocations: 117.8 kB / 295.5 MB, free: 20.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.86e-05/0.1471, allocations: 11.8 kB / 295.5 MB, free: 20.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1471, allocations: 40.3 kB / 295.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/0.1471, allocations: 2.25 kB / 295.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002433/0.1496, allocations: 1.369 MB / 296.9 MB, free: 19.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1496, allocations: 86.05 kB / 297 MB, free: 19.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.1501, allocations: 0.6709 MB / 297.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1502, allocations: 32.45 kB / 297.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.1504, allocations: 0.654 MB / 298.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.1505, allocations: 162.2 kB / 298.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1506, allocations: 137.8 kB / 298.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.1507, allocations: 0.5576 MB / 299.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1509, allocations: 81.23 kB / 299.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1512, allocations: 0.566 MB / 299.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.1517, allocations: 0.716 MB / 300.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1517, allocations: 4.406 kB / 300.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007779/0.1524, allocations: 0.6272 MB / 301.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1525, allocations: 9.938 kB / 301.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.1525, allocations: 12.42 kB / 301.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.1525, allocations: 17.94 kB / 301.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.153, allocations: 191.6 kB / 301.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.153, allocations: 24.06 kB / 301.4 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1533, allocations: 32.64 kB / 301.4 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.1533, allocations: 41.06 kB / 301.5 MB, free: 16.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0001443/0.1535, allocations: 215.4 kB / 301.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1536, allocations: 90.95 kB / 301.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.1536, allocations: 76.3 kB / 301.9 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1537, allocations: 7.172 kB / 301.9 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1537, allocations: 2.016 kB / 301.9 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1537, allocations: 3.031 kB / 301.9 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.155, allocations: 1.141 MB / 303 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.155, allocations: 1.969 kB / 303 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.1553, allocations: 94.72 kB / 303.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1553, allocations: 3.438 kB / 303.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1553, allocations: 14.34 kB / 303.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1553, allocations: 7.031 kB / 303.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1553, allocations: 6.469 kB / 303.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.1558, allocations: 0.6568 MB / 303.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1559, allocations: 71.55 kB / 303.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.156, allocations: 9.203 kB / 303.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1562, allocations: 21.81 kB / 303.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.1562, allocations: 28.53 kB / 303.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1562, allocations: 15.14 kB / 303.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003492/0.1566, allocations: 411.3 kB / 304.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1566, allocations: 5.281 kB / 304.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006169/0.1572, allocations: 137.5 kB / 304.5 MB, free: 15.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001016/0.1573, allocations: 113.3 kB / 304.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.1578, allocations: 328.9 kB / 304.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1578, allocations: 1.156 kB / 304.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1579, allocations: 119.9 kB / 305 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1584, allocations: 72.98 kB / 305.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1606, allocations: 1.575 MB / 306.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1607, allocations: 170.8 kB / 306.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.1609, allocations: 90.17 kB / 306.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.161, allocations: 65.92 kB / 307 MB, free: 13.69 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.161, allocations: 0 / 307 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Templates: time 0.00945/0.1705, allocations: 4.935 MB / 311.9 MB, free: 12.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7923749620094895]