Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001331/0.001331, 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 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.001521/0.001521, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2608/0.2608, allocations: 46.96 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 67.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3664, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001684/0.3681, allocations: 495.9 kB / 0.5623 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3716, allocations: 2.058 MB / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.3716, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.3716, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.625e-05/0.3717, allocations: 4 kB / 0.5643 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3728, allocations: 406.3 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.3729, allocations: 8 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.3729, allocations: 4 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.3729, allocations: 7.984 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02125/0.3942, allocations: 3.383 MB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3942, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3943, allocations: 11.92 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3943, allocations: 8 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3944, allocations: 0 / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3946, allocations: 8 kB / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3946, allocations: 0 / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3946, allocations: 0 / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3946, allocations: 0 / 0.568 GB, free: 14.38 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.0003638/0.3949, allocations: 242.4 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.395, allocations: 15.97 kB / 0.5683 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.3953, allocations: 80.22 kB / 0.5683 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3954, allocations: 189.8 kB / 0.5685 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.3955, allocations: 150.9 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.3956, allocations: 154.7 kB / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.3957, allocations: 101 kB / 0.5689 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.3957, allocations: 79.22 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.3958, allocations: 158.6 kB / 0.5691 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/0.3959, allocations: 150.6 kB / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.396, allocations: 154.5 kB / 0.5694 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.3963, allocations: 393.6 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3964, allocations: 169.1 kB / 0.57 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3964, allocations: 84.08 kB / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.3965, allocations: 83.28 kB / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.615e-05/0.3966, allocations: 113.8 kB / 0.5702 GB, free: 11.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3966, allocations: 0 / 0.5702 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.524e-05/0.3966, allocations: 29.7 kB / 0.5703 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.3968, allocations: 178.1 kB / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3969, allocations: 93.86 kB / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3969, allocations: 29.64 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.397, allocations: 84.14 kB / 0.5706 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.397, allocations: 0 / 0.5706 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.397, allocations: 9.719 kB / 0.5706 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3972, allocations: 319 kB / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.3972, allocations: 3.938 kB / 0.5709 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.3973, allocations: 65.11 kB / 0.571 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.3973, allocations: 79.28 kB / 0.5711 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/0.3974, allocations: 75.28 kB / 0.5711 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001053/0.3975, allocations: 29.64 kB / 0.5712 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.3976, allocations: 87.28 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/0.3976, allocations: 79.22 kB / 0.5713 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.39e-05/0.3977, allocations: 154.6 kB / 0.5715 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.3977, allocations: 79.28 kB / 0.5716 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-05/0.3978, allocations: 162.5 kB / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.3979, allocations: 75.28 kB / 0.5718 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3979, allocations: 83.22 kB / 0.5719 GB, free: 10.21 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.0001552/0.3981, allocations: 260.4 kB / 0.5721 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3982, allocations: 108.9 kB / 0.5722 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.3982, allocations: 107.8 kB / 0.5723 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-05/0.3983, allocations: 188.2 kB / 0.5725 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-05/0.3984, allocations: 176.3 kB / 0.5727 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.142e-05/0.3985, allocations: 184.2 kB / 0.5728 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3988, allocations: 356.8 kB / 0.5732 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/0.3988, allocations: 109 kB / 0.5733 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.3989, allocations: 104.9 kB / 0.5734 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-05/0.3989, allocations: 184.2 kB / 0.5736 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.399, allocations: 180.2 kB / 0.5737 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.987e-05/0.3991, allocations: 180.3 kB / 0.5739 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-05/0.3992, allocations: 188.2 kB / 0.5741 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3994, allocations: 300.1 kB / 0.5744 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3995, allocations: 112.9 kB / 0.5745 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3996, allocations: 188.2 kB / 0.5747 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3997, allocations: 105 kB / 0.5748 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.3998, allocations: 180.2 kB / 0.5749 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.3999, allocations: 105 kB / 0.575 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.3999, allocations: 83.22 kB / 0.5751 GB, free: 6.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3999, allocations: 0 / 0.5751 GB, free: 6.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.4002, allocations: 4 kB / 0.5751 GB, free: 6.691 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.0001553/0.4003, allocations: 166.5 kB / 0.5753 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.665e-05/0.4004, allocations: 3.938 kB / 0.5753 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4004, allocations: 4 kB / 0.5753 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4004, allocations: 0 / 0.5753 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4009, allocations: 459.8 kB / 0.5757 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.4011, allocations: 182 kB / 0.5759 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.4012, allocations: 55.36 kB / 0.5759 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.4012, allocations: 7.438 kB / 0.576 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4012, allocations: 0 / 0.576 GB, free: 5.762 MB / 414.1 MB Notification: Performance of Templates: time 0.00198/0.4032, allocations: 367.7 kB / 0.5763 GB, free: 5.402 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.384322701022029]