Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001451/0.001451, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00157/0.00157, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3366/0.3366, allocations: 32.81 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.615e-05, allocations: 9.625 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001532/0.001568, allocations: 0.4892 MB / 375.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.005421, allocations: 2.055 MB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.005438, allocations: 0 / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.005452, allocations: 0 / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.005487, allocations: 0 / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.006811, allocations: 414.4 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.448e-05/0.006855, allocations: 3.938 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.006893, allocations: 4 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.006918, allocations: 0 / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02483/0.03174, allocations: 4.839 MB / 383 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.03177, allocations: 0 / 383 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.03185, allocations: 4 kB / 383 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.03186, allocations: 0 / 383 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.03189, allocations: 4 kB / 383 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.03204, allocations: 19.97 kB / 383 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.03205, allocations: 3.938 kB / 383.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03205, allocations: 0 / 383.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.03205, allocations: 0 / 383.1 MB, free: 14.29 MB / 362.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.0003387/0.03239, allocations: 250.3 kB / 383.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.03243, allocations: 8.031 kB / 383.3 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.03264, allocations: 88.22 kB / 383.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.03281, allocations: 185.1 kB / 383.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/0.03289, allocations: 150.9 kB / 383.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.03297, allocations: 150.9 kB / 383.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.422e-05/0.03306, allocations: 105.5 kB / 384 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.03311, allocations: 79.22 kB / 384 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.03319, allocations: 150.6 kB / 384.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/0.03327, allocations: 150.6 kB / 384.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.03337, allocations: 158.5 kB / 384.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.0337, allocations: 393.6 kB / 384.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.03382, allocations: 173.1 kB / 385.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.03387, allocations: 80.14 kB / 385.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.03392, allocations: 75.33 kB / 385.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.35e-05/0.03401, allocations: 121.8 kB / 385.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.03401, allocations: 0 / 385.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.181e-05/0.03409, allocations: 33.64 kB / 385.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.03421, allocations: 178.1 kB / 385.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.03434, allocations: 93.86 kB / 385.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.03436, allocations: 25.7 kB / 385.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.03441, allocations: 80.27 kB / 385.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.03441, allocations: 4 kB / 385.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.03445, allocations: 13.72 kB / 385.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.03462, allocations: 314.8 kB / 386 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/0.03462, allocations: 0 / 386 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.03469, allocations: 73.05 kB / 386.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.03474, allocations: 75.28 kB / 386.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-05/0.03478, allocations: 75.28 kB / 386.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.878e-05/0.03484, allocations: 29.7 kB / 386.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.03507, allocations: 79.28 kB / 386.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.03512, allocations: 75.28 kB / 386.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.954e-05/0.03522, allocations: 166.5 kB / 386.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.03526, allocations: 75.28 kB / 386.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001215/0.03538, allocations: 162.5 kB / 386.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.03548, allocations: 87.22 kB / 386.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.03552, allocations: 75.28 kB / 387 MB, free: 10.12 MB / 362.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.0001692/0.03569, allocations: 264.3 kB / 387.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.03577, allocations: 101 kB / 387.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.03583, allocations: 108.2 kB / 387.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.03593, allocations: 192.1 kB / 387.6 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001622/0.0361, allocations: 180.3 kB / 387.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.03621, allocations: 188.2 kB / 388 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.03646, allocations: 344.9 kB / 388.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.531e-05/0.03653, allocations: 113 kB / 388.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.03659, allocations: 108.9 kB / 388.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.704e-05/0.03669, allocations: 176.3 kB / 388.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.03679, allocations: 184.2 kB / 388.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.03689, allocations: 180.3 kB / 389.1 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.656e-05/0.03699, allocations: 180.2 kB / 389.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.03724, allocations: 311.8 kB / 389.6 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.03742, allocations: 108.9 kB / 389.7 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.03753, allocations: 180.3 kB / 389.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.03764, allocations: 109 kB / 390 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.03775, allocations: 184.1 kB / 390.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.03781, allocations: 105 kB / 390.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.03786, allocations: 79.28 kB / 390.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03786, allocations: 0 / 390.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000278/0.03814, allocations: 4 kB / 390.3 MB, free: 6.605 MB / 362.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.000151/0.03829, allocations: 162.5 kB / 390.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.889e-05/0.03834, allocations: 7.938 kB / 390.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.03834, allocations: 4.094 kB / 390.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.03834, allocations: 0 / 390.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.0388, allocations: 463.6 kB / 390.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.03908, allocations: 161.5 kB / 391.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.024e-05/0.03914, allocations: 51.36 kB / 391.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.03916, allocations: 0 / 391.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.03918, allocations: 8.5 kB / 391.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03918, allocations: 4 kB / 391.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of Templates: time 0.002632/0.04182, allocations: 352.8 kB / 391.5 MB, free: 5.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.6746448669582605]