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.0009532/0.0009532, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001056/0.001056, allocations: 165 kB / 24.56 MB, free: 16 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.015/1.015, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.3421/0.3421, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 2.404e-06/2.404e-06, allocations: 0 / 378 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.824e-05, allocations: 2.312 kB / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001654/0.001692, allocations: 0.4964 MB / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.004902, allocations: 2.136 MB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.004938, allocations: 0 / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.004974, allocations: 0 / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.00501, allocations: 0 / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.006592, allocations: 406.4 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.006665, allocations: 7.984 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.006714, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.006758, allocations: 4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.01876, allocations: 4.836 MB / 385.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.01878, allocations: 0 / 385.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.0189, allocations: 4 kB / 385.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.01891, allocations: 0 / 385.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.01894, allocations: 4 kB / 385.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.01911, allocations: 15.98 kB / 385.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.01912, allocations: 0 / 385.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.01912, allocations: 0 / 385.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01913, allocations: 0 / 385.9 MB, free: 11.91 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.0003135/0.01944, allocations: 344.3 kB / 386.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.01949, allocations: 8.031 kB / 386.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.01978, allocations: 128.1 kB / 386.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.01994, allocations: 235.8 kB / 386.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.02001, allocations: 238.8 kB / 386.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-05/0.02008, allocations: 242.7 kB / 387.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.02018, allocations: 153.5 kB / 387.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.02022, allocations: 123.1 kB / 387.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.02032, allocations: 238.4 kB / 387.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-05/0.02039, allocations: 238.4 kB / 387.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.02047, allocations: 254.2 kB / 388.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.02075, allocations: 0.5642 MB / 388.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.02089, allocations: 265.4 kB / 388.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.02094, allocations: 126.9 kB / 389 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.02097, allocations: 119.2 kB / 389.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.02104, allocations: 152.6 kB / 389.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.02104, allocations: 8 kB / 389.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.187e-05/0.02113, allocations: 37.58 kB / 389.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.02125, allocations: 222 kB / 389.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.02139, allocations: 157.9 kB / 389.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.02141, allocations: 25.7 kB / 389.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.02146, allocations: 126.9 kB / 389.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.02146, allocations: 0 / 389.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.0215, allocations: 19.42 kB / 389.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.02166, allocations: 0.4884 MB / 390.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.02168, allocations: 0 / 390.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.02174, allocations: 74.91 kB / 390.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.02178, allocations: 119.2 kB / 390.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/0.02182, allocations: 119.2 kB / 390.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.153e-05/0.02189, allocations: 37.62 kB / 390.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.02194, allocations: 123.2 kB / 390.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.02198, allocations: 119.2 kB / 390.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.968e-05/0.02207, allocations: 250.2 kB / 391.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.02211, allocations: 123.3 kB / 391.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.895e-05/0.02218, allocations: 242.4 kB / 391.5 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.02228, allocations: 127.1 kB / 391.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.02231, allocations: 123.2 kB / 391.8 MB, free: 5.793 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.0001509/0.02246, allocations: 403 kB / 392.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.02253, allocations: 148.8 kB / 392.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.02259, allocations: 151.9 kB / 392.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/0.02266, allocations: 272 kB / 392.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.082e-05/0.02274, allocations: 268 kB / 393 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/0.02282, allocations: 272.1 kB / 393.3 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.02302, allocations: 491.8 kB / 393.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.02306, allocations: 144.9 kB / 393.9 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.02311, allocations: 156.8 kB / 394 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/0.02319, allocations: 272 kB / 394.3 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.02328, allocations: 268.1 kB / 394.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.973e-05/0.02336, allocations: 272 kB / 394.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.044e-05/0.02345, allocations: 268 kB / 395.1 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.02363, allocations: 452 kB / 395.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.02369, allocations: 148.9 kB / 395.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.02378, allocations: 268 kB / 395.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.02385, allocations: 148.9 kB / 396.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.02392, allocations: 272.3 kB / 396.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.02395, allocations: 156.9 kB / 396.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.024, allocations: 119.2 kB / 396.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.024, allocations: 4.094 kB / 396.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.02415, allocations: 0 / 396.6 MB, free: 0.75 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.0001352/0.02429, allocations: 210.4 kB / 396.8 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.49e-05/0.02435, allocations: 8.031 kB / 396.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.02435, allocations: 0 / 396.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.02436, allocations: 3.938 kB / 396.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.02475, allocations: 0.7023 MB / 397.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.02502, allocations: 207.1 kB / 397.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.02507, allocations: 59.34 kB / 397.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.0251, allocations: 4 kB / 397.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.02512, allocations: 8.5 kB / 397.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.02512, allocations: 0 / 397.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of Templates: time 0.002513/0.02763, allocations: 353 kB / 398.2 MB, free: 15.16 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.1524444059468806]