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.0009698/0.0009698, 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.001049/0.001049, allocations: 161 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 0.9382/0.9382, allocations: 177.1 MB / 205 MB, free: 5.594 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.2408/0.2408, allocations: 32.8 MB / 294.3 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.213e-06/1.213e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.231e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004017/0.004029, allocations: 4.708 MB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.006793, allocations: 4.138 MB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.006873, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.007088, allocations: 55.61 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.008532, allocations: 0.8117 MB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.008754, allocations: 143.7 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.009275, allocations: 389.9 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.009311, allocations: 9.812 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.009505, allocations: 203.4 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.009667, allocations: 147.6 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.009688, allocations: 8 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.01025, allocations: 395.3 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.01031, allocations: 47.75 kB / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.01038, allocations: 87.77 kB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.01091, allocations: 470.5 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01091, allocations: 0 / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01091, allocations: 4 kB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.01092, allocations: 0 / 387.6 MB, free: 9.012 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.00071/0.01163, allocations: 0.6245 MB / 388.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01166, allocations: 12.03 kB / 388.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.01179, allocations: 48.77 kB / 388.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.01197, allocations: 176.3 kB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.01207, allocations: 230.7 kB / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.0121, allocations: 24.38 kB / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.01243, allocations: 438.3 kB / 389.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01244, allocations: 4.188 kB / 389.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.01246, allocations: 11.94 kB / 389.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.01248, allocations: 8 kB / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.01285, allocations: 0.5255 MB / 389.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.01369, allocations: 1.339 MB / 391 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.01391, allocations: 144.2 kB / 391.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.01398, allocations: 64.31 kB / 391.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008282/0.01481, allocations: 0.8322 MB / 392.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01483, allocations: 33.39 kB / 392.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.01483, allocations: 0 / 392.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002124/0.01504, allocations: 113.4 kB / 392.2 MB, free: 4.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.01507, allocations: 55.41 kB / 392.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01522, allocations: 302.4 kB / 392.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01524, allocations: 25.7 kB / 392.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01534, allocations: 274.2 kB / 392.9 MB, free: 3.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.01537, allocations: 47.67 kB / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.01543, allocations: 87.77 kB / 393 MB, free: 3.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002981/0.01573, allocations: 0.5039 MB / 393.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.01577, allocations: 36.97 kB / 393.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01598, allocations: 471.9 kB / 394 MB, free: 2.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.01628, allocations: 0.5551 MB / 394.6 MB, free: 1.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01628, allocations: 3.938 kB / 394.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003473/0.01663, allocations: 385 kB / 394.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01665, allocations: 8 kB / 394.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.01666, allocations: 12.84 kB / 395 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01667, allocations: 12 kB / 395 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.01681, allocations: 103.8 kB / 395.1 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.01682, allocations: 23.86 kB / 395.1 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01695, allocations: 55.62 kB / 395.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.01697, allocations: 31.94 kB / 395.2 MB, free: 0.6797 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 8.474e-05/0.01705, allocations: 192.3 kB / 395.4 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01708, allocations: 27.86 kB / 395.4 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.01725, allocations: 150.2 kB / 395.5 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.01726, allocations: 0 / 395.5 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.01726, allocations: 0 / 395.5 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01727, allocations: 0 / 395.5 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.01753, allocations: 408.3 kB / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01754, allocations: 8.062 kB / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.01756, allocations: 11.94 kB / 396 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01757, allocations: 8.094 kB / 396 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01758, allocations: 4 kB / 396 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01758, allocations: 7.938 kB / 396 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01758, allocations: 0 / 396 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.0177, allocations: 258.8 kB / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.01773, allocations: 23.83 kB / 396.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01775, allocations: 11.95 kB / 396.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.01781, allocations: 3.938 kB / 396.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.01783, allocations: 7.984 kB / 396.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01784, allocations: 4 kB / 396.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.01792, allocations: 201.1 kB / 396.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01792, allocations: 0 / 396.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003/0.01822, allocations: 91.88 kB / 396.6 MB, free: 15.18 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.0001852/0.01841, allocations: 167.1 kB / 396.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.01861, allocations: 166.4 kB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01861, allocations: 3.938 kB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.01863, allocations: 31.61 kB / 396.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01889, allocations: 50.33 kB / 397 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.01975, allocations: 0.522 MB / 397.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01979, allocations: 72.33 kB / 397.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.0199, allocations: 59.03 kB / 397.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.01993, allocations: 28.5 kB / 397.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01993, allocations: 4 kB / 397.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of Templates: time 0.005662/0.0256, allocations: 3.467 MB / 401.1 MB, free: 10.6 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: 2.955789430066943]