Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 83.67 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 161.6 kB / 24.99 MB, free: 9.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3362/0.3362, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.081e-05, allocations: 2.312 kB / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001062/0.001083, allocations: 0.4886 MB / 379.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.003601, allocations: 2.135 MB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.003628, allocations: 0 / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.003646, allocations: 0 / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.344e-05/0.00367, allocations: 3.938 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.004606, allocations: 402.4 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.004671, allocations: 3.984 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.004713, allocations: 4 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.004745, allocations: 4 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.0162, allocations: 4.792 MB / 386.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.01622, allocations: 0 / 386.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.01632, allocations: 8 kB / 386.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.01633, allocations: 4 kB / 386.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.01635, allocations: 4 kB / 386.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.01649, allocations: 4 kB / 386.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01649, allocations: 3.984 kB / 386.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01649, allocations: 3.938 kB / 386.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.0165, allocations: 0 / 386.6 MB, free: 11.66 MB / 362.7 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.0003203/0.01682, allocations: 352.3 kB / 386.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.01687, allocations: 8.031 kB / 386.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.01707, allocations: 128.1 kB / 387 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.01721, allocations: 235.8 kB / 387.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.01728, allocations: 246.8 kB / 387.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.01734, allocations: 238.8 kB / 387.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.01742, allocations: 149.5 kB / 387.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.01746, allocations: 119.4 kB / 388 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.01753, allocations: 238.8 kB / 388.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.01761, allocations: 242.3 kB / 388.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.01768, allocations: 246.3 kB / 388.7 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.01794, allocations: 0.5681 MB / 389.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.01805, allocations: 269.4 kB / 389.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.01809, allocations: 126.9 kB / 389.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.01812, allocations: 123.2 kB / 389.8 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.01819, allocations: 160.5 kB / 390 MB, free: 8.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.01819, allocations: 0 / 390 MB, free: 8.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.428e-05/0.01826, allocations: 25.7 kB / 390 MB, free: 8.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.01836, allocations: 229.9 kB / 390.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.01848, allocations: 157.9 kB / 390.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.01849, allocations: 25.7 kB / 390.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.01853, allocations: 126.9 kB / 390.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.01853, allocations: 0 / 390.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.01856, allocations: 19.42 kB / 390.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01869, allocations: 0.4885 MB / 391 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.0187, allocations: 0 / 391 MB, free: 6.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.01875, allocations: 70.78 kB / 391.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.01879, allocations: 123.2 kB / 391.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.01882, allocations: 123.1 kB / 391.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.847e-05/0.01886, allocations: 29.7 kB / 391.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.01891, allocations: 127.2 kB / 391.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.01894, allocations: 119.2 kB / 391.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-05/0.01902, allocations: 246.3 kB / 391.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.01906, allocations: 127.2 kB / 392 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.939e-05/0.01914, allocations: 246.2 kB / 392.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.01922, allocations: 127.2 kB / 392.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.01925, allocations: 123.2 kB / 392.4 MB, free: 5.531 MB / 362.7 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.0001797/0.01943, allocations: 398.9 kB / 392.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.01948, allocations: 148.8 kB / 393 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.01954, allocations: 151.9 kB / 393.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-05/0.01961, allocations: 268 kB / 393.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001617/0.01977, allocations: 272 kB / 393.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-05/0.01984, allocations: 272.1 kB / 393.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.02002, allocations: 491.8 kB / 394.4 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/0.02006, allocations: 148.9 kB / 394.5 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.02009, allocations: 152.8 kB / 394.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.608e-05/0.02016, allocations: 264.1 kB / 395 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.02023, allocations: 276.1 kB / 395.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002559/0.02049, allocations: 268 kB / 395.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/0.02056, allocations: 264.1 kB / 395.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.02071, allocations: 455.9 kB / 396.2 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.02075, allocations: 156.8 kB / 396.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.02083, allocations: 264.1 kB / 396.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.0209, allocations: 148.9 kB / 396.7 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.02098, allocations: 268.3 kB / 397 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.02102, allocations: 160.8 kB / 397.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.02106, allocations: 119.2 kB / 397.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02106, allocations: 0 / 397.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.02122, allocations: 0 / 397.3 MB, free: 0.4961 MB / 362.7 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.0001198/0.02134, allocations: 214.4 kB / 397.5 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.02141, allocations: 11.97 kB / 397.5 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02141, allocations: 0 / 397.5 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.02141, allocations: 0 / 397.5 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.02175, allocations: 0.706 MB / 398.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.02197, allocations: 207.2 kB / 398.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.02201, allocations: 59.28 kB / 398.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.603e-05/0.02204, allocations: 4 kB / 398.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.02205, allocations: 8.5 kB / 398.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02206, allocations: 3.938 kB / 398.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of Templates: time 0.001999/0.02405, allocations: 354.3 kB / 398.8 MB, free: 14.89 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.480058425106108]