Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008447/0.0008447, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001923, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007369/0.0007369, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001698, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.167/1.22, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1398/0.1398, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02497/0.1648, allocations: 12.3 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 267.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.711e-05, allocations: 2.312 kB / 267.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001944/0.001972, allocations: 0.5478 MB / 267.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.004973, allocations: 2.051 MB / 269.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.004995, allocations: 4 kB / 269.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.528e-06/0.005005, allocations: 3.938 kB / 269.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-06/0.005014, allocations: 0 / 269.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.006284, allocations: 334.5 kB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.006333, allocations: 4 kB / 270.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.00638, allocations: 7.969 kB / 270.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.006427, allocations: 11.94 kB / 270.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/0.02197, allocations: 4.852 MB / 275 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.02199, allocations: 0 / 275 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.02217, allocations: 4 kB / 275 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.02218, allocations: 0 / 275 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.02221, allocations: 4 kB / 275 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.02241, allocations: 11.88 kB / 275 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.228e-05/0.02245, allocations: 0 / 275 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.02245, allocations: 4 kB / 275 MB, free: 14.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.02248, allocations: 0 / 275 MB, free: 14.66 MB / 282.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.0004426/0.02292, allocations: 216.8 kB / 275.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.02298, allocations: 8.031 kB / 275.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.02331, allocations: 165.3 kB / 275.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.02348, allocations: 181.1 kB / 275.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.02354, allocations: 154.9 kB / 275.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.02361, allocations: 150.9 kB / 275.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.02369, allocations: 109.5 kB / 276 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.02372, allocations: 79.22 kB / 276.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.02379, allocations: 154.6 kB / 276.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.02384, allocations: 154.5 kB / 276.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.02391, allocations: 162.6 kB / 276.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.02415, allocations: 349.3 kB / 276.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.02426, allocations: 173.1 kB / 277 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.02429, allocations: 80.14 kB / 277.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.02432, allocations: 75.28 kB / 277.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.02438, allocations: 109.8 kB / 277.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.02438, allocations: 0 / 277.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.258e-05/0.02446, allocations: 25.7 kB / 277.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.02454, allocations: 138.6 kB / 277.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.02465, allocations: 106.7 kB / 277.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.02467, allocations: 25.7 kB / 277.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.0247, allocations: 80.14 kB / 277.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.72e-07/0.0247, allocations: 0 / 277.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.02473, allocations: 17.7 kB / 277.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.02484, allocations: 310.8 kB / 278 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.02485, allocations: 0 / 278 MB, free: 11.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.02492, allocations: 69.06 kB / 278 MB, free: 11.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.02495, allocations: 75.28 kB / 278.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/0.02498, allocations: 75.44 kB / 278.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.19e-05/0.02504, allocations: 37.69 kB / 278.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.02508, allocations: 79.28 kB / 278.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.02511, allocations: 83.22 kB / 278.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.262e-05/0.02516, allocations: 154.5 kB / 278.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.043e-05/0.02519, allocations: 79.22 kB / 278.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.586e-05/0.02526, allocations: 162.5 kB / 278.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.264e-05/0.02535, allocations: 79.28 kB / 278.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.02537, allocations: 79.22 kB / 278.9 MB, free: 10.54 MB / 282.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.0001092/0.02548, allocations: 264.4 kB / 279.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.02554, allocations: 109 kB / 279.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.02559, allocations: 107.9 kB / 279.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.02564, allocations: 176.3 kB / 279.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.255e-05/0.0257, allocations: 200.2 kB / 279.8 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.02575, allocations: 176.3 kB / 279.9 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.02592, allocations: 313.5 kB / 280.2 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.02595, allocations: 105.2 kB / 280.3 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.02599, allocations: 101 kB / 280.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.02603, allocations: 120.9 kB / 280.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.325e-05/0.02609, allocations: 176.3 kB / 280.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.02614, allocations: 180.3 kB / 280.9 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-05/0.02621, allocations: 188.2 kB / 281.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.466e-05/0.02626, allocations: 176.3 kB / 281.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.0264, allocations: 311.7 kB / 281.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.02647, allocations: 176.3 kB / 281.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02657, allocations: 108.9 kB / 281.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.02665, allocations: 184.2 kB / 282 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.02669, allocations: 104.9 kB / 282.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.02672, allocations: 8.859 kB / 282.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02672, allocations: 0 / 282.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.02692, allocations: 3.938 kB / 282.1 MB, free: 7.148 MB / 282.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.0001336/0.02705, allocations: 151.8 kB / 282.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.869e-05/0.02711, allocations: 0 / 282.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.02712, allocations: 8 kB / 282.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.02712, allocations: 3.938 kB / 282.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.02741, allocations: 463.6 kB / 282.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.02767, allocations: 169.4 kB / 282.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.02772, allocations: 51.36 kB / 283 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.02775, allocations: 0 / 283 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.02782, allocations: 59.36 kB / 283 MB, free: 6.203 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02782, allocations: 4 kB / 283 MB, free: 6.199 MB / 282.7 MB Notification: Performance of Templates: time 0.002034/0.02985, allocations: 386.7 kB / 283.4 MB, free: 5.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9842695482075214]