Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 112.6 kB / 18.79 MB, free: 3.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 215.9 kB / 19.8 MB, free: 2.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.2 MB / 250.8 MB, free: 8.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2557/0.2557, allocations: 46.88 MB / 351.8 MB, free: 7.32 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003456/0.003456, allocations: 87.84 kB / 496.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4252, allocations: 65.97 MB / 0.5493 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001908/0.4271, allocations: 496.8 kB / 0.5497 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.4308, allocations: 2.152 MB / 0.5518 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.4308, allocations: 0 / 0.5518 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.4309, allocations: 4 kB / 0.5518 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.631e-05/0.4309, allocations: 0 / 0.5518 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.4321, allocations: 398.2 kB / 0.5522 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.082e-05/0.4321, allocations: 0 / 0.5522 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.4322, allocations: 11.98 kB / 0.5522 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.4322, allocations: 3.984 kB / 0.5522 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01994/0.4521, allocations: 3.368 MB / 0.5555 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.4522, allocations: 0 / 0.5555 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.4522, allocations: 8 kB / 0.5555 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.4523, allocations: 3.938 kB / 0.5555 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.4523, allocations: 7.984 kB / 0.5555 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.4524, allocations: 7.984 kB / 0.5555 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.195e-06/0.4524, allocations: 0 / 0.5555 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4524, allocations: 0 / 0.5555 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4524, allocations: 4 kB / 0.5555 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003308/0.4527, allocations: 315.5 kB / 0.5558 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4528, allocations: 12.03 kB / 0.5559 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.453, allocations: 84.2 kB / 0.5559 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.4532, allocations: 235.7 kB / 0.5562 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.4532, allocations: 150.9 kB / 0.5563 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.4533, allocations: 162.7 kB / 0.5565 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.4534, allocations: 108.9 kB / 0.5566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.4534, allocations: 75.28 kB / 0.5566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.4535, allocations: 158.6 kB / 0.5568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-05/0.4536, allocations: 154.5 kB / 0.5569 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.4537, allocations: 154.5 kB / 0.5571 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.454, allocations: 446 kB / 0.5575 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4541, allocations: 169.1 kB / 0.5577 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.4542, allocations: 84.08 kB / 0.5577 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.4542, allocations: 75.28 kB / 0.5578 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.4543, allocations: 113.8 kB / 0.5579 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4543, allocations: 0 / 0.5579 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.634e-05/0.4544, allocations: 33.69 kB / 0.558 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4545, allocations: 178.1 kB / 0.5581 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4546, allocations: 93.86 kB / 0.5582 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4546, allocations: 29.7 kB / 0.5582 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.4547, allocations: 84.27 kB / 0.5583 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.4547, allocations: 0 / 0.5583 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.4547, allocations: 9.719 kB / 0.5583 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4549, allocations: 318.8 kB / 0.5586 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-06/0.4549, allocations: 0 / 0.5586 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.4549, allocations: 17.64 kB / 0.5587 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.4549, allocations: 75.28 kB / 0.5587 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/0.455, allocations: 75.28 kB / 0.5588 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.289e-05/0.455, allocations: 37.67 kB / 0.5588 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.4551, allocations: 86.09 kB / 0.5589 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.4551, allocations: 79.28 kB / 0.559 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.7e-05/0.4552, allocations: 154.5 kB / 0.5591 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.267e-05/0.4552, allocations: 75.28 kB / 0.5592 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.869e-05/0.4553, allocations: 154.5 kB / 0.5594 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.4554, allocations: 87.27 kB / 0.5594 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.4554, allocations: 75.28 kB / 0.5595 GB, free: 11.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001788/0.4556, allocations: 272.3 kB / 0.5598 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.4557, allocations: 104.9 kB / 0.5599 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.4558, allocations: 107.9 kB / 0.56 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-05/0.4559, allocations: 184.2 kB / 0.5602 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.034e-05/0.4559, allocations: 188.3 kB / 0.5603 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.462e-05/0.456, allocations: 180.2 kB / 0.5605 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.4563, allocations: 405.1 kB / 0.5609 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-05/0.4563, allocations: 109 kB / 0.561 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.4564, allocations: 108.9 kB / 0.5611 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/0.4565, allocations: 180.3 kB / 0.5613 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.4566, allocations: 180.2 kB / 0.5614 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.099e-05/0.4567, allocations: 184.3 kB / 0.5616 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.904e-05/0.4568, allocations: 180.2 kB / 0.5618 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.4569, allocations: 312.1 kB / 0.5621 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4571, allocations: 182 kB / 0.5623 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4572, allocations: 188.3 kB / 0.5624 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.4573, allocations: 101 kB / 0.5625 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.4574, allocations: 180.2 kB / 0.5627 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.4574, allocations: 101 kB / 0.5628 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.4574, allocations: 83.28 kB / 0.5629 GB, free: 7.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4574, allocations: 0 / 0.5629 GB, free: 7.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.4577, allocations: 0 / 0.5629 GB, free: 7.711 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001499/0.4579, allocations: 170.5 kB / 0.5631 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.794e-05/0.4579, allocations: 11.94 kB / 0.5631 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4579, allocations: 0 / 0.5631 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.4579, allocations: 3.984 kB / 0.5631 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4584, allocations: 463.7 kB / 0.5635 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.4586, allocations: 152.3 kB / 0.5637 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.459, allocations: 0.669 MB / 0.5643 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.459, allocations: 0 / 0.5643 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.459, allocations: 11.44 kB / 0.5643 GB, free: 6.176 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.459, allocations: 0 / 0.5643 GB, free: 6.176 MB / 414.1 MB Notification: Performance of Templates: time 0.00262/0.4616, allocations: 312.4 kB / 0.5646 GB, free: 5.875 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches