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.002033/0.002033, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002025/0.002025, allocations: 169.3 kB / 24.28 MB, free: 152 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3644/0.3644, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.743e-06/1.743e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.804e-05/3.978e-05, allocations: 5.828 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007619/0.007659, allocations: 4.669 MB / 380 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005837/0.0135, allocations: 4.084 MB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.01367, allocations: 4 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.01404, allocations: 51.61 kB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.0165, allocations: 0.7687 MB / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.01687, allocations: 131.7 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.01748, allocations: 381.9 kB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.01753, allocations: 13.8 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.01783, allocations: 187.4 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.0181, allocations: 139.7 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.01813, allocations: 8 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009494/0.01908, allocations: 387.2 kB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.01918, allocations: 47.75 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.01931, allocations: 79.81 kB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.02018, allocations: 490.5 kB / 386.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.02018, allocations: 0 / 386.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.02018, allocations: 0 / 386.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.02019, allocations: 0 / 386.7 MB, free: 9.52 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.001288/0.02147, allocations: 0.6359 MB / 387.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.02151, allocations: 8.031 kB / 387.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.02173, allocations: 52.73 kB / 387.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.02204, allocations: 172.2 kB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.02226, allocations: 230.7 kB / 387.8 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.0223, allocations: 24.38 kB / 387.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.02295, allocations: 441.6 kB / 388.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.02296, allocations: 192 / 388.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.023, allocations: 15.94 kB / 388.3 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.02302, allocations: 8 kB / 388.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.02385, allocations: 0.6027 MB / 388.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.02557, allocations: 1.355 MB / 390.2 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.02597, allocations: 152.3 kB / 390.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.02612, allocations: 84.28 kB / 390.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.02793, allocations: 0.8284 MB / 391.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.02797, allocations: 37.39 kB / 391.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.02797, allocations: 0 / 391.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003425/0.02831, allocations: 125.4 kB / 391.4 MB, free: 4.473 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.02836, allocations: 55.41 kB / 391.5 MB, free: 4.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.02868, allocations: 306.4 kB / 391.8 MB, free: 4.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.02871, allocations: 29.7 kB / 391.8 MB, free: 4.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.02892, allocations: 274.2 kB / 392.1 MB, free: 3.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.02898, allocations: 47.67 kB / 392.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.02911, allocations: 91.75 kB / 392.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000314/0.02942, allocations: 0.5079 MB / 392.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.02951, allocations: 40.97 kB / 392.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.03006, allocations: 479.9 kB / 393.2 MB, free: 2.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.03082, allocations: 0.5745 MB / 393.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.03082, allocations: 0 / 393.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000704/0.03153, allocations: 401.4 kB / 394.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.03155, allocations: 8 kB / 394.2 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.03158, allocations: 12 kB / 394.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.03162, allocations: 12 kB / 394.2 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.03191, allocations: 103.8 kB / 394.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.03193, allocations: 19.88 kB / 394.4 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.03218, allocations: 55.56 kB / 394.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.03223, allocations: 36.36 kB / 394.4 MB, free: 0.9883 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.0001882/0.03242, allocations: 200.3 kB / 394.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.03249, allocations: 27.86 kB / 394.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.03282, allocations: 138.8 kB / 394.8 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.03283, allocations: 12.03 kB / 394.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.03284, allocations: 4 kB / 394.8 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.03285, allocations: 3.984 kB / 394.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.03344, allocations: 416.2 kB / 395.2 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.03345, allocations: 3.938 kB / 395.2 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.03352, allocations: 19.98 kB / 395.3 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.03352, allocations: 0 / 395.3 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.03353, allocations: 4 kB / 395.3 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.03353, allocations: 3.938 kB / 395.3 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03354, allocations: 4.094 kB / 395.3 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.03384, allocations: 266.8 kB / 395.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.03391, allocations: 19.89 kB / 395.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.03395, allocations: 11.89 kB / 395.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.03409, allocations: 7.922 kB / 395.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.03413, allocations: 8 kB / 395.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.03414, allocations: 7.984 kB / 395.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.03436, allocations: 205.1 kB / 395.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03436, allocations: 0 / 395.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000535/0.03489, allocations: 87.92 kB / 395.9 MB, free: 15.46 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.0003698/0.03526, allocations: 159.1 kB / 396 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.03565, allocations: 182.9 kB / 396.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03565, allocations: 0 / 396.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.03571, allocations: 43.53 kB / 396.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.03618, allocations: 51.34 kB / 396.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.03739, allocations: 0.5219 MB / 396.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.03754, allocations: 124.5 kB / 396.9 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.03772, allocations: 51.02 kB / 397 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.03777, allocations: 28.5 kB / 397 MB, free: 14.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03778, allocations: 0 / 397 MB, free: 14.23 MB / 378.7 MB Notification: Performance of Templates: time 0.008534/0.04631, allocations: 3.101 MB / 400.1 MB, free: 11.18 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",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: 5.142041387036443]