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.001404/0.001404, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001524/0.001524, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.499/1.499, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2351/0.2351, allocations: 46.93 MB / 361.5 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002454/0.002454, allocations: 79.88 kB / 0.4973 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3419, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00166/0.3436, allocations: 487.2 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.347, allocations: 2.065 MB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.347, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.347, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.975e-05/0.347, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.3482, allocations: 398.7 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.661e-05/0.3483, allocations: 4 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3483, allocations: 4 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.722e-05/0.3483, allocations: 7.984 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/0.3693, allocations: 3.397 MB / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3693, allocations: 0 / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.3694, allocations: 4 kB / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.3694, allocations: 0 / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3695, allocations: 3.984 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3696, allocations: 16 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3696, allocations: 0 / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3696, allocations: 0 / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.3696, allocations: 0 / 0.5681 GB, free: 14.21 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.0003163/0.3699, allocations: 238.4 kB / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.37, allocations: 12.03 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.3702, allocations: 92.14 kB / 0.5684 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3703, allocations: 185.8 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/0.3704, allocations: 150.9 kB / 0.5688 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.3705, allocations: 150.9 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.3705, allocations: 109.3 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.3706, allocations: 75.28 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.3706, allocations: 154.6 kB / 0.5692 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.3707, allocations: 150.6 kB / 0.5694 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.3708, allocations: 158.5 kB / 0.5695 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.3711, allocations: 401.5 kB / 0.5699 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.3712, allocations: 165.1 kB / 0.5701 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.3712, allocations: 88.12 kB / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.3713, allocations: 79.28 kB / 0.5702 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.3713, allocations: 105.8 kB / 0.5703 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3713, allocations: 4 kB / 0.5703 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.837e-05/0.3714, allocations: 33.58 kB / 0.5704 GB, free: 11.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.3715, allocations: 182.1 kB / 0.5705 GB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3716, allocations: 89.86 kB / 0.5706 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3716, allocations: 25.7 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.3717, allocations: 92.12 kB / 0.5707 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.3717, allocations: 0 / 0.5707 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.3717, allocations: 9.719 kB / 0.5707 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3718, allocations: 314.8 kB / 0.571 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.3718, allocations: 0 / 0.571 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.3719, allocations: 65.25 kB / 0.5711 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.3719, allocations: 75.28 kB / 0.5712 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-05/0.372, allocations: 79.28 kB / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.663e-05/0.372, allocations: 29.64 kB / 0.5713 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.3721, allocations: 83.28 kB / 0.5713 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.3721, allocations: 83.2 kB / 0.5714 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.444e-05/0.3722, allocations: 162.5 kB / 0.5716 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.3722, allocations: 79.28 kB / 0.5717 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.407e-05/0.3723, allocations: 150.6 kB / 0.5718 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.3724, allocations: 79.22 kB / 0.5719 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.3724, allocations: 83.31 kB / 0.572 GB, free: 10.04 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.0001421/0.3726, allocations: 256.4 kB / 0.5722 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.3726, allocations: 116.9 kB / 0.5723 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.3727, allocations: 111.7 kB / 0.5724 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.618e-05/0.3728, allocations: 176.3 kB / 0.5726 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.039e-05/0.3729, allocations: 184.2 kB / 0.5728 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/0.373, allocations: 176.3 kB / 0.5729 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3732, allocations: 360.8 kB / 0.5733 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/0.3733, allocations: 104.9 kB / 0.5734 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.3733, allocations: 101 kB / 0.5735 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.3734, allocations: 188.2 kB / 0.5737 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.3735, allocations: 188.2 kB / 0.5738 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.684e-05/0.3736, allocations: 184.1 kB / 0.574 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.3737, allocations: 188.3 kB / 0.5742 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3738, allocations: 300.1 kB / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3739, allocations: 109 kB / 0.5746 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.374, allocations: 188.2 kB / 0.5748 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3741, allocations: 104.9 kB / 0.5749 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.3742, allocations: 184.2 kB / 0.575 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.3742, allocations: 101 kB / 0.5751 GB, free: 6.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.3743, allocations: 83.27 kB / 0.5752 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3743, allocations: 4 kB / 0.5752 GB, free: 6.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3745, allocations: 0 / 0.5752 GB, free: 6.516 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.0001329/0.3747, allocations: 166.5 kB / 0.5754 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.3747, allocations: 4 kB / 0.5754 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3747, allocations: 0 / 0.5754 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.3747, allocations: 3.938 kB / 0.5754 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3751, allocations: 455.7 kB / 0.5758 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.3754, allocations: 178 kB / 0.576 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.549e-05/0.3754, allocations: 59.44 kB / 0.576 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.3755, allocations: 11.44 kB / 0.576 GB, free: 5.586 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3755, allocations: 0 / 0.576 GB, free: 5.586 MB / 414.1 MB Notification: Performance of Templates: time 0.00196/0.3774, allocations: 367 kB / 0.5764 GB, free: 5.23 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.292990677990019]