Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001016/0.001016, 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.0009616/0.0009616, 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.9752/0.9752, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.295/0.295, allocations: 34.26 MB / 296 MB, free: 0.7812 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.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.886e-05, allocations: 5.828 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005649/0.005678, allocations: 5.132 MB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.009909, allocations: 4.668 MB / 387.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.01003, allocations: 7.938 kB / 387.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.0103, allocations: 47.62 kB / 387.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.01196, allocations: 0.7026 MB / 388.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.01227, allocations: 155.6 kB / 388.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.01273, allocations: 389.9 kB / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.01278, allocations: 9.75 kB / 389.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.01303, allocations: 199.4 kB / 389.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.01319, allocations: 115.7 kB / 389.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.01321, allocations: 8 kB / 389.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.01376, allocations: 323.3 kB / 389.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.01384, allocations: 47.77 kB / 389.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.01393, allocations: 79.81 kB / 389.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.01452, allocations: 434.6 kB / 390.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01452, allocations: 4 kB / 390.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01453, allocations: 0 / 390.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01453, allocations: 0 / 390.3 MB, free: 6.602 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.0008611/0.01539, allocations: 0.6167 MB / 390.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.01543, allocations: 12.03 kB / 391 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.01561, allocations: 56.72 kB / 391 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.01583, allocations: 176.2 kB / 391.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.01596, allocations: 226.7 kB / 391.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.016, allocations: 28.38 kB / 391.4 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.01642, allocations: 464 kB / 391.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.01643, allocations: 4.188 kB / 391.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.01646, allocations: 15.94 kB / 391.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.01649, allocations: 8 kB / 391.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.01727, allocations: 0.5216 MB / 392.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.0183, allocations: 1.335 MB / 393.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.01856, allocations: 131.2 kB / 393.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.01864, allocations: 67.64 kB / 394 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.0196, allocations: 0.7412 MB / 394.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.01963, allocations: 37.39 kB / 394.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.01963, allocations: 0 / 394.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005481/0.02018, allocations: 209.2 kB / 394.9 MB, free: 1.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.02021, allocations: 59.34 kB / 395 MB, free: 1.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.02038, allocations: 289.1 kB / 395.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.0204, allocations: 29.7 kB / 395.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.02051, allocations: 262.3 kB / 395.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.02055, allocations: 59.53 kB / 395.6 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.02063, allocations: 87.8 kB / 395.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.02076, allocations: 0.5078 MB / 396.2 MB, free: 340 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.02083, allocations: 36.97 kB / 396.3 MB, free: 304 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.02107, allocations: 423.8 kB / 396.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.02144, allocations: 0.5022 MB / 397.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.02145, allocations: 4 kB / 397.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004603/0.02191, allocations: 365.6 kB / 397.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02192, allocations: 8 kB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.02194, allocations: 20.08 kB / 397.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.02196, allocations: 16 kB / 397.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.02221, allocations: 103.8 kB / 397.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.02223, allocations: 19.92 kB / 397.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.0224, allocations: 16 kB / 397.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.02243, allocations: 28 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001011/0.02254, allocations: 196.3 kB / 397.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.02258, allocations: 19.91 kB / 398 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.02282, allocations: 154.7 kB / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.02282, allocations: 0 / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.02283, allocations: 0 / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02283, allocations: 3.984 kB / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.02323, allocations: 428.7 kB / 398.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02323, allocations: 0 / 398.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.02334, allocations: 27.98 kB / 398.6 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.02334, allocations: 3.984 kB / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.02335, allocations: 4 kB / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02335, allocations: 0 / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02336, allocations: 3.938 kB / 398.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.02354, allocations: 271.4 kB / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.02366, allocations: 31.83 kB / 398.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.02369, allocations: 4.125 kB / 398.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.02383, allocations: 16.02 kB / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.02385, allocations: 15.92 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.02387, allocations: 7.984 kB / 398.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.02396, allocations: 189.1 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02396, allocations: 0 / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.02439, allocations: 95.86 kB / 399.2 MB, free: 12.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0002249/0.02461, allocations: 167 kB / 399.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.02487, allocations: 176.9 kB / 399.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.02487, allocations: 4 kB / 399.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.02492, allocations: 41.42 kB / 399.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.02529, allocations: 60.48 kB / 399.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.02632, allocations: 495 kB / 400.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.02637, allocations: 80.64 kB / 400.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.02653, allocations: 62.77 kB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.02658, allocations: 32.48 kB / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02658, allocations: 0 / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of Templates: time 0.005777/0.03236, allocations: 3.44 MB / 403.7 MB, free: 8.371 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1674663219600916]