Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 96.06 kB / 16.93 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 180.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 11.94 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005082/0.1359, allocations: 4.406 MB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003873/0.1398, allocations: 1.447 MB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.1407, allocations: 23.88 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.141, allocations: 107 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.1418, allocations: 227.2 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.1426, allocations: 299.6 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.1436, allocations: 0.7571 MB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.1441, allocations: 346.2 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.1446, allocations: 318.5 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.145, allocations: 353.9 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.1451, allocations: 40 kB / 336.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1453, allocations: 51.92 kB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1454, allocations: 155.3 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1456, allocations: 201.1 kB / 337 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.1464, allocations: 0.7753 MB / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1464, allocations: 0 / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1464, allocations: 0 / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1465, allocations: 0 / 337.8 MB, free: 10.58 MB / 286.1 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.001985/0.1485, allocations: 1.134 MB / 338.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.1485, allocations: 8.031 kB / 338.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.1487, allocations: 130.4 kB / 339.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1498, allocations: 0.5801 MB / 339.6 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.1499, allocations: 77.95 kB / 339.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.15, allocations: 100 kB / 339.8 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1517, allocations: 1.015 MB / 340.8 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.1518, allocations: 3.938 kB / 340.8 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.1518, allocations: 44 kB / 340.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.1519, allocations: 28 kB / 340.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.153, allocations: 0.5617 MB / 341.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.1585, allocations: 5.54 MB / 347 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.1591, allocations: 233 kB / 347.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.1593, allocations: 89.11 kB / 347.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1594, allocations: 38.52 kB / 347.4 MB, free: 476 kB / 286.1 MB Notification: Performance of pre-optimization done (n=28): time 3.126e-06/0.1594, allocations: 0 / 347.4 MB, free: 476 kB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.003797/0.1632, allocations: 1.733 MB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.1633, allocations: 81.11 kB / 349.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.164, allocations: 0.6255 MB / 349.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.164, allocations: 29.7 kB / 349.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.1644, allocations: 0.5949 MB / 350.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1645, allocations: 146 kB / 350.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.1646, allocations: 15.94 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1647, allocations: 390.7 kB / 351 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.165, allocations: 157.9 kB / 351.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.1656, allocations: 497.1 kB / 351.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.1659, allocations: 238.5 kB / 351.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.166, allocations: 4 kB / 351.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001107/0.1671, allocations: 0.7151 MB / 352.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1671, allocations: 12 kB / 352.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.1671, allocations: 12 kB / 352.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.1672, allocations: 19.98 kB / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.1678, allocations: 196.2 kB / 352.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.1678, allocations: 19.94 kB / 352.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.1682, allocations: 35.98 kB / 352.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.1682, allocations: 39.98 kB / 352.9 MB, free: 10.61 MB / 302.1 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 (94): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.1685, allocations: 229.5 kB / 353.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1686, allocations: 75.06 kB / 353.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1688, allocations: 74.55 kB / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1688, allocations: 4 kB / 353.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1688, allocations: 3.984 kB / 353.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1688, allocations: 4 kB / 353.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.1708, allocations: 1.298 MB / 354.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1708, allocations: 0 / 354.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.1712, allocations: 107.9 kB / 354.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1713, allocations: 0 / 354.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1713, allocations: 16.02 kB / 354.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1713, allocations: 7.938 kB / 354.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1713, allocations: 3.938 kB / 354.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.1723, allocations: 0.7236 MB / 355.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1724, allocations: 136.2 kB / 355.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.1725, allocations: 12.03 kB / 355.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.1728, allocations: 23.98 kB / 355.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.1728, allocations: 23.97 kB / 355.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1729, allocations: 15.98 kB / 355.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004383/0.1733, allocations: 419 kB / 356 MB, free: 7.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1733, allocations: 0 / 356 MB, free: 7.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000619/0.1739, allocations: 136 kB / 356.2 MB, free: 7.203 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.1741, allocations: 111.2 kB / 356.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.1749, allocations: 441.7 kB / 356.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1749, allocations: 4 kB / 356.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.1752, allocations: 153.5 kB / 356.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1756, allocations: 63.31 kB / 356.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.1784, allocations: 2.052 MB / 359 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.179, allocations: 1.023 MB / 360 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.1793, allocations: 90 kB / 360.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1794, allocations: 67.41 kB / 360.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1795, allocations: 0 / 360.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of Templates: time 0.009909/0.1894, allocations: 4.493 MB / 364.6 MB, free: 14.66 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches