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.001546/0.001546, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001686/0.001686, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2227/0.2227, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] 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.001996/0.001996, allocations: 59.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 66.03 MB / 0.5618 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001675/0.3564, allocations: 495.5 kB / 0.5623 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.3599, allocations: 2.171 MB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3599, allocations: 0 / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.3599, allocations: 0 / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.36, allocations: 0 / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3614, allocations: 410.7 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.3614, allocations: 4 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3615, allocations: 4 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.3615, allocations: 7.984 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02027/0.3818, allocations: 3.38 MB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3818, allocations: 0 / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.3819, allocations: 8 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3819, allocations: 3.984 kB / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.3819, allocations: 0 / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.382, allocations: 4 kB / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3821, allocations: 0 / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3821, allocations: 7.938 kB / 0.5682 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3821, allocations: 0 / 0.5682 GB, free: 14.56 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.0003428/0.3824, allocations: 246.4 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3824, allocations: 15.91 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3827, allocations: 88.2 kB / 0.5685 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3828, allocations: 177.8 kB / 0.5687 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.3829, allocations: 154.9 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.383, allocations: 158.7 kB / 0.569 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.383, allocations: 109 kB / 0.5691 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.3831, allocations: 75.28 kB / 0.5692 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3832, allocations: 150.6 kB / 0.5693 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.3832, allocations: 150.6 kB / 0.5694 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.3833, allocations: 154.5 kB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.3836, allocations: 425 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3838, allocations: 165.1 kB / 0.5701 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3838, allocations: 84.08 kB / 0.5702 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3838, allocations: 75.28 kB / 0.5703 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/0.3839, allocations: 109.8 kB / 0.5704 GB, free: 12.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3839, allocations: 0 / 0.5704 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.602e-05/0.384, allocations: 37.64 kB / 0.5704 GB, free: 12.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.3841, allocations: 178.1 kB / 0.5706 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3842, allocations: 93.84 kB / 0.5707 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3842, allocations: 25.7 kB / 0.5707 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3843, allocations: 84.14 kB / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.3843, allocations: 0 / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.3843, allocations: 13.84 kB / 0.5708 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3844, allocations: 318.8 kB / 0.5711 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.3844, allocations: 0 / 0.5711 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.3845, allocations: 9.719 kB / 0.5711 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.3845, allocations: 75.28 kB / 0.5712 GB, free: 11.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.3845, allocations: 75.28 kB / 0.5713 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.864e-05/0.3846, allocations: 37.58 kB / 0.5713 GB, free: 11.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.3846, allocations: 83.31 kB / 0.5714 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.3847, allocations: 83.27 kB / 0.5715 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-05/0.3848, allocations: 162.5 kB / 0.5716 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.3848, allocations: 75.28 kB / 0.5717 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-05/0.3849, allocations: 150.6 kB / 0.5718 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.91e-05/0.385, allocations: 87.22 kB / 0.5719 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.385, allocations: 79.28 kB / 0.572 GB, free: 10.42 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.0001446/0.3851, allocations: 264.3 kB / 0.5723 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.3852, allocations: 112.8 kB / 0.5724 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.3853, allocations: 107.8 kB / 0.5725 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.554e-05/0.3854, allocations: 184.2 kB / 0.5726 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.938e-05/0.3854, allocations: 188.2 kB / 0.5728 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-05/0.3855, allocations: 176.3 kB / 0.573 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3858, allocations: 376.2 kB / 0.5733 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.864e-05/0.3859, allocations: 109 kB / 0.5734 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.3859, allocations: 104.9 kB / 0.5735 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.386, allocations: 176.3 kB / 0.5737 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3861, allocations: 184.2 kB / 0.5739 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.957e-05/0.3862, allocations: 184.2 kB / 0.5741 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/0.3863, allocations: 180.3 kB / 0.5742 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3865, allocations: 312 kB / 0.5745 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.3866, allocations: 105 kB / 0.5746 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3867, allocations: 188.2 kB / 0.5748 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.3868, allocations: 105 kB / 0.5749 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3869, allocations: 180.2 kB / 0.5751 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.3869, allocations: 109 kB / 0.5752 GB, free: 6.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.387, allocations: 75.28 kB / 0.5753 GB, free: 6.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.387, allocations: 4.094 kB / 0.5753 GB, free: 6.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3872, allocations: 0 / 0.5753 GB, free: 6.871 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.0001437/0.3873, allocations: 170.5 kB / 0.5754 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.317e-05/0.3874, allocations: 4 kB / 0.5754 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3874, allocations: 0 / 0.5754 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.3874, allocations: 3.938 kB / 0.5754 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3878, allocations: 467.6 kB / 0.5759 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.3881, allocations: 170 kB / 0.576 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3884, allocations: 0.6729 MB / 0.5767 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.3884, allocations: 7.438 kB / 0.5767 GB, free: 5.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3884, allocations: 0 / 0.5767 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Templates: time 0.001895/0.3903, allocations: 371.6 kB / 0.5771 GB, free: 4.957 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.121730792103335]