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.001114/0.001114, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001208/0.001208, allocations: 171.8 kB / 24.82 MB, free: 9.262 MB / 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.823e-06/1.823e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.495e-05, allocations: 6.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004663/0.004688, allocations: 5.039 MB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.007119, allocations: 1.492 MB / 280 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.007579, allocations: 39.69 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.007956, allocations: 221.8 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.008473, allocations: 221.6 kB / 280.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.009221, allocations: 427.2 kB / 280.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01023, allocations: 1.149 MB / 282 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.01066, allocations: 316.9 kB / 282.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.01139, allocations: 0.604 MB / 282.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.01169, allocations: 294.9 kB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.01178, allocations: 84 kB / 283.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.01193, allocations: 99.94 kB / 283.4 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.01204, allocations: 227 kB / 283.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.01225, allocations: 323 kB / 283.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.0129, allocations: 0.7662 MB / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01291, allocations: 0 / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01291, allocations: 0 / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.01292, allocations: 0 / 284.7 MB, free: 5.949 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.001261/0.01418, allocations: 1.387 MB / 286.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01422, allocations: 12.03 kB / 286.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.0145, allocations: 223.1 kB / 286.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.01518, allocations: 0.624 MB / 286.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.01523, allocations: 74 kB / 287 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.01532, allocations: 108 kB / 287.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/0.01622, allocations: 0.9872 MB / 288.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.01625, allocations: 7.891 kB / 288.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.01629, allocations: 44 kB / 288.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.01631, allocations: 28 kB / 288.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.01674, allocations: 325.2 kB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1322/0.1489, allocations: 6.75 MB / 295.2 MB, free: 20.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1492, allocations: 181.4 kB / 295.4 MB, free: 20.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1494, allocations: 98.72 kB / 295.5 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.1494, allocations: 17.69 kB / 295.5 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.1494, allocations: 37.39 kB / 295.6 MB, free: 20.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.1494, allocations: 0 / 295.6 MB, free: 20.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001888/0.1513, allocations: 1.045 MB / 296.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1514, allocations: 85.34 kB / 296.7 MB, free: 19.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.1519, allocations: 0.6606 MB / 297.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1519, allocations: 32.55 kB / 297.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.1522, allocations: 0.6625 MB / 298 MB, free: 19.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.1522, allocations: 159.8 kB / 298.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1524, allocations: 139.8 kB / 298.3 MB, free: 18.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1525, allocations: 0.566 MB / 298.9 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1526, allocations: 62.67 kB / 299 MB, free: 18.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1528, allocations: 0.5557 MB / 299.5 MB, free: 17.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1532, allocations: 0.6902 MB / 300.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1532, allocations: 3.906 kB / 300.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005827/0.1538, allocations: 0.5824 MB / 300.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1538, allocations: 13.72 kB / 300.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1538, allocations: 11.47 kB / 300.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1538, allocations: 17.31 kB / 300.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1542, allocations: 193 kB / 301 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.1542, allocations: 28.19 kB / 301 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.1544, allocations: 31.14 kB / 301.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.1544, allocations: 30.22 kB / 301.1 MB, free: 17.02 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.0001282/0.1545, allocations: 213.5 kB / 301.3 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1546, allocations: 92.89 kB / 301.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.1547, allocations: 77.62 kB / 301.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1547, allocations: 8 kB / 301.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1547, allocations: 1.672 kB / 301.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1547, allocations: 1.969 kB / 301.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.1557, allocations: 1.01 MB / 302.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1557, allocations: 1.531 kB / 302.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1559, allocations: 101.7 kB / 302.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1559, allocations: 1.688 kB / 302.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1559, allocations: 14.77 kB / 302.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1559, allocations: 3.125 kB / 302.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1559, allocations: 2.156 kB / 302.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1563, allocations: 0.6322 MB / 303.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1564, allocations: 65.59 kB / 303.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.1564, allocations: 11.27 kB / 303.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1565, allocations: 21.84 kB / 303.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1566, allocations: 36.08 kB / 303.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1566, allocations: 11.41 kB / 303.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1568, allocations: 387 kB / 303.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1568, allocations: 0 / 303.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004308/0.1572, allocations: 139.3 kB / 303.9 MB, free: 15.66 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 7.816e-05/0.1573, allocations: 104.9 kB / 304 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1577, allocations: 307.6 kB / 304.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1577, allocations: 0 / 304.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1578, allocations: 106.6 kB / 304.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1581, allocations: 75.28 kB / 304.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1599, allocations: 1.579 MB / 306.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.16, allocations: 167.7 kB / 306.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1602, allocations: 91.06 kB / 306.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.1604, allocations: 195.6 kB / 306.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1604, allocations: 0 / 306.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Templates: time 0.008765/0.1691, allocations: 5.107 MB / 311.6 MB, free: 12.65 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.824353775009513]