Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.0009545/0.0009545, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009098/0.0009098, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9917/0.9917, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2843/0.2843, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.792e-05, allocations: 2.312 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005892/0.00592, allocations: 4.699 MB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.009305, allocations: 4.095 MB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.009432, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.009755, allocations: 55.67 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.01153, allocations: 0.7609 MB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.01186, allocations: 139.7 kB / 385.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.01249, allocations: 385.8 kB / 386.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.423e-05/0.01255, allocations: 9.812 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.0128, allocations: 191.4 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.013, allocations: 135.7 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.01303, allocations: 8 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007192/0.01375, allocations: 387.2 kB / 386.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.01383, allocations: 43.83 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.01392, allocations: 83.75 kB / 387 MB, free: 9.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.01481, allocations: 470.5 kB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.01481, allocations: 0 / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01482, allocations: 0 / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.01482, allocations: 0 / 387.4 MB, free: 9.48 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001054/0.01588, allocations: 0.6323 MB / 388.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.01593, allocations: 8.031 kB / 388.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.01613, allocations: 48.78 kB / 388.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.01639, allocations: 176.2 kB / 388.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.01651, allocations: 226.7 kB / 388.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.01655, allocations: 24.38 kB / 388.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.01694, allocations: 446.3 kB / 389 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01695, allocations: 4.125 kB / 389 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01697, allocations: 15.94 kB / 389 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.017, allocations: 4 kB / 389 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.0174, allocations: 0.5216 MB / 389.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.01839, allocations: 1.343 MB / 390.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.01864, allocations: 144.2 kB / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.01872, allocations: 68.25 kB / 391.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009563/0.01968, allocations: 0.8245 MB / 391.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01971, allocations: 33.39 kB / 391.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.01971, allocations: 0 / 391.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002297/0.01994, allocations: 121.4 kB / 392.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.01997, allocations: 55.41 kB / 392.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.02014, allocations: 294.4 kB / 392.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.02016, allocations: 29.7 kB / 392.4 MB, free: 4.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.02028, allocations: 274.2 kB / 392.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.0203, allocations: 43.67 kB / 392.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.02038, allocations: 95.75 kB / 392.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.02052, allocations: 0.5078 MB / 393.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.02058, allocations: 36.97 kB / 393.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.02086, allocations: 467.9 kB / 393.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.0215, allocations: 0.5589 MB / 394.4 MB, free: 1.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.0215, allocations: 4 kB / 394.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004159/0.02192, allocations: 381.6 kB / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.02194, allocations: 8 kB / 394.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.02196, allocations: 12 kB / 394.8 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.02198, allocations: 16 kB / 394.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.02213, allocations: 95.83 kB / 394.9 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.02215, allocations: 27.86 kB / 394.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.0223, allocations: 51.62 kB / 395 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.02232, allocations: 31.94 kB / 395 MB, free: 1.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001105/0.02243, allocations: 192.6 kB / 395.2 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.02247, allocations: 27.86 kB / 395.2 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.02272, allocations: 138.2 kB / 395.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.02273, allocations: 4 kB / 395.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02274, allocations: 4 kB / 395.4 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02274, allocations: 0 / 395.4 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.02308, allocations: 416.3 kB / 395.8 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02308, allocations: 0 / 395.8 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.02312, allocations: 15.94 kB / 395.8 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02312, allocations: 3.984 kB / 395.8 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.02313, allocations: 8 kB / 395.8 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.02314, allocations: 3.938 kB / 395.8 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.02314, allocations: 0 / 395.8 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.02332, allocations: 266.9 kB / 396.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.02335, allocations: 19.83 kB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.02338, allocations: 11.95 kB / 396.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.02346, allocations: 7.938 kB / 396.1 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.02348, allocations: 7.984 kB / 396.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.02349, allocations: 4 kB / 396.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.69e-05/0.02359, allocations: 193.1 kB / 396.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02359, allocations: 3.938 kB / 396.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.02394, allocations: 95.86 kB / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0002452/0.02418, allocations: 159.1 kB / 396.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.02441, allocations: 175.3 kB / 396.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02442, allocations: 0 / 396.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.02444, allocations: 31.61 kB / 396.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.02473, allocations: 48.45 kB / 396.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02579, allocations: 0.5267 MB / 397.3 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.02584, allocations: 76.33 kB / 397.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.02597, allocations: 50.88 kB / 397.5 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.02601, allocations: 28.5 kB / 397.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02601, allocations: 0 / 397.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of Templates: time 0.005119/0.03113, allocations: 3.099 MB / 400.6 MB, free: 11.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2270112270489335]