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.001881/0.001881, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002216/0.002216, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2304/0.2304, allocations: 46.97 MB / 361.6 MB, free: 4.141 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.002012/0.002012, allocations: 67.89 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001553/0.3137, allocations: 492 kB / 0.5623 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.3168, allocations: 2.07 MB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.3168, allocations: 0 / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.3169, allocations: 0 / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.3169, allocations: 0 / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3179, allocations: 406.3 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.318, allocations: 0 / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.318, allocations: 8 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.318, allocations: 3.984 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0203/0.3383, allocations: 3.395 MB / 0.568 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3384, allocations: 0 / 0.568 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.3384, allocations: 4 kB / 0.568 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.3384, allocations: 0 / 0.568 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.3385, allocations: 7.984 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3386, allocations: 11.94 kB / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3386, allocations: 0 / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3386, allocations: 0 / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3386, allocations: 0 / 0.568 GB, free: 14.42 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.0002814/0.3389, allocations: 242.4 kB / 0.5682 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3389, allocations: 8.031 kB / 0.5683 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3391, allocations: 88.2 kB / 0.5683 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3392, allocations: 185.8 kB / 0.5685 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.3393, allocations: 150.9 kB / 0.5687 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3394, allocations: 158.6 kB / 0.5688 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.3395, allocations: 108.9 kB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.3395, allocations: 75.28 kB / 0.569 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.3396, allocations: 150.6 kB / 0.5691 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.3396, allocations: 150.6 kB / 0.5693 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.3397, allocations: 150.6 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.34, allocations: 401.6 kB / 0.5698 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3401, allocations: 177.1 kB / 0.57 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.3401, allocations: 80.14 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3402, allocations: 75.28 kB / 0.5701 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.3402, allocations: 113.8 kB / 0.5702 GB, free: 12.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.3402, allocations: 0 / 0.5702 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.455e-05/0.3403, allocations: 33.64 kB / 0.5703 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.3404, allocations: 178.1 kB / 0.5704 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3405, allocations: 89.86 kB / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3405, allocations: 33.69 kB / 0.5705 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.3406, allocations: 84.27 kB / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3406, allocations: 0 / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3406, allocations: 13.72 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3407, allocations: 314.8 kB / 0.5709 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.3407, allocations: 0 / 0.5709 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.3408, allocations: 65.12 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.3408, allocations: 75.28 kB / 0.5711 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-05/0.3409, allocations: 75.28 kB / 0.5711 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.06e-05/0.3409, allocations: 37.58 kB / 0.5712 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.341, allocations: 79.28 kB / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/0.341, allocations: 79.27 kB / 0.5713 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.88e-05/0.3411, allocations: 162.6 kB / 0.5715 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.3411, allocations: 79.22 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.946e-05/0.3412, allocations: 154.6 kB / 0.5717 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3413, allocations: 87.22 kB / 0.5718 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3413, allocations: 75.28 kB / 0.5719 GB, free: 10.25 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.0001444/0.3415, allocations: 260.4 kB / 0.5721 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3416, allocations: 112.8 kB / 0.5722 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.3416, allocations: 111.7 kB / 0.5723 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/0.3417, allocations: 184.3 kB / 0.5725 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/0.3418, allocations: 180.2 kB / 0.5727 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.3419, allocations: 184.2 kB / 0.5729 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.3421, allocations: 352.9 kB / 0.5732 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.3421, allocations: 108.9 kB / 0.5733 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.3422, allocations: 105 kB / 0.5734 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.3423, allocations: 184.1 kB / 0.5736 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.3423, allocations: 184.2 kB / 0.5737 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.543e-05/0.3424, allocations: 180.3 kB / 0.5739 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.94e-05/0.3425, allocations: 184.2 kB / 0.5741 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3427, allocations: 304.1 kB / 0.5744 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3427, allocations: 109 kB / 0.5745 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.3428, allocations: 188.2 kB / 0.5747 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.3429, allocations: 112.9 kB / 0.5748 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.343, allocations: 176.3 kB / 0.5749 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.343, allocations: 104.9 kB / 0.575 GB, free: 6.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.343, allocations: 83.27 kB / 0.5751 GB, free: 6.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.343, allocations: 0 / 0.5751 GB, free: 6.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.3433, allocations: 0 / 0.5751 GB, free: 6.73 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.0001151/0.3434, allocations: 166.5 kB / 0.5753 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.08e-05/0.3435, allocations: 4 kB / 0.5753 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3435, allocations: 4.094 kB / 0.5753 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.3435, allocations: 0 / 0.5753 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3438, allocations: 463.6 kB / 0.5757 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.344, allocations: 148.3 kB / 0.5759 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.3441, allocations: 59.34 kB / 0.5759 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3441, allocations: 0 / 0.5759 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3441, allocations: 7.438 kB / 0.5759 GB, free: 5.832 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3441, allocations: 0 / 0.5759 GB, free: 5.832 MB / 414.1 MB Notification: Performance of Templates: time 0.002733/0.3469, allocations: 327 kB / 0.5762 GB, free: 5.516 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 -s gbode -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: 4.881024942005752]