Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002518/0.002518, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002812/0.002812, allocations: 165.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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.4445/0.4445, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.704e-05, allocations: 5.547 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00749/0.007527, allocations: 4.677 MB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.01344, allocations: 4.084 MB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.01358, allocations: 4 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.01391, allocations: 55.62 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.01643, allocations: 0.7649 MB / 386.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.01681, allocations: 131.7 kB / 387 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.01741, allocations: 385.9 kB / 387.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.01746, allocations: 5.812 kB / 387.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.01776, allocations: 191.4 kB / 387.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.01803, allocations: 131.7 kB / 387.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.01807, allocations: 12 kB / 387.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009813/0.01906, allocations: 387.2 kB / 388.1 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.01915, allocations: 43.83 kB / 388.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.01928, allocations: 83.77 kB / 388.2 MB, free: 7.965 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008618/0.02014, allocations: 486.5 kB / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02015, allocations: 0 / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02015, allocations: 0 / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.02016, allocations: 0 / 388.7 MB, free: 7.488 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.001316/0.02147, allocations: 0.6359 MB / 389.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.02151, allocations: 8.031 kB / 389.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.02174, allocations: 52.73 kB / 389.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.02204, allocations: 176.2 kB / 389.6 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.02226, allocations: 222.7 kB / 389.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.02231, allocations: 28.38 kB / 389.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.02297, allocations: 449.5 kB / 390.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.02298, allocations: 192 / 390.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.02302, allocations: 19.92 kB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.02304, allocations: 4 kB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.02393, allocations: 0.6026 MB / 390.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.02569, allocations: 1.351 MB / 392.2 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.02619, allocations: 160.2 kB / 392.4 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.02634, allocations: 80.3 kB / 392.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/0.02817, allocations: 0.8362 MB / 393.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.02821, allocations: 33.39 kB / 393.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.02821, allocations: 0 / 393.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003566/0.02857, allocations: 117.8 kB / 393.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.02862, allocations: 51.41 kB / 393.5 MB, free: 2.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.02893, allocations: 310.4 kB / 393.8 MB, free: 2.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.02895, allocations: 25.7 kB / 393.8 MB, free: 2.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.02916, allocations: 278.2 kB / 394.1 MB, free: 1.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.02921, allocations: 43.69 kB / 394.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.02933, allocations: 99.73 kB / 394.3 MB, free: 1.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000314/0.02965, allocations: 0.5039 MB / 394.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.02975, allocations: 52.91 kB / 394.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.03028, allocations: 475.9 kB / 395.3 MB, free: 376 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.03097, allocations: 0.5668 MB / 395.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.03098, allocations: 4 kB / 395.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000659/0.03163, allocations: 397.5 kB / 396.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.03166, allocations: 8 kB / 396.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.03168, allocations: 12 kB / 396.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.03171, allocations: 16 kB / 396.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.03198, allocations: 99.77 kB / 396.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-05/0.032, allocations: 23.92 kB / 396.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.03225, allocations: 51.62 kB / 396.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.03229, allocations: 31.94 kB / 396.5 MB, free: 14.96 MB / 378.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.0001948/0.03249, allocations: 204.7 kB / 396.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.03255, allocations: 31.86 kB / 396.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.03287, allocations: 146.3 kB / 396.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.03288, allocations: 7.984 kB / 396.8 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03289, allocations: 0 / 396.8 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.03289, allocations: 4.031 kB / 396.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.03348, allocations: 424.2 kB / 397.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.03348, allocations: 0 / 397.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.03355, allocations: 12 kB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.03355, allocations: 4 kB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.03356, allocations: 4 kB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.03357, allocations: 3.938 kB / 397.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.03357, allocations: 7.984 kB / 397.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.03385, allocations: 270.8 kB / 397.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.03391, allocations: 15.91 kB / 397.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.03395, allocations: 19.81 kB / 397.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.03411, allocations: 7.938 kB / 397.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.03414, allocations: 11.98 kB / 397.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.03415, allocations: 4 kB / 397.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.03435, allocations: 201.1 kB / 397.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03435, allocations: 0 / 397.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.03486, allocations: 87.94 kB / 397.9 MB, free: 13.41 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.0003177/0.03517, allocations: 159.1 kB / 398.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.03553, allocations: 187.2 kB / 398.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.03554, allocations: 4 kB / 398.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.03558, allocations: 23.62 kB / 398.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.03603, allocations: 48.64 kB / 398.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.03718, allocations: 0.5302 MB / 398.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.03734, allocations: 116.6 kB / 399 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000304/0.03765, allocations: 51.11 kB / 399 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.0377, allocations: 24.5 kB / 399 MB, free: 12.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0377, allocations: 0 / 399 MB, free: 12.21 MB / 378.7 MB Notification: Performance of Templates: time 0.008472/0.04618, allocations: 3.09 MB / 402.1 MB, free: 9.164 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.266683655092493]