Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002478/0.002478, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002843/0.002843, allocations: 165.3 kB / 24.27 MB, free: 148 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.601/1.601, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3404/0.3404, allocations: 32.8 MB / 293.9 MB, free: 1.18 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.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.748e-05, allocations: 5.828 kB / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007621/0.007648, allocations: 5.082 MB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.01387, allocations: 4.668 MB / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.01399, allocations: 0 / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.01429, allocations: 51.61 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.01623, allocations: 0.7064 MB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.01665, allocations: 159.7 kB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.01724, allocations: 385.9 kB / 386.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.01729, allocations: 13.75 kB / 386.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.01764, allocations: 199.4 kB / 386.6 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.01809, allocations: 107.7 kB / 386.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.01812, allocations: 8 kB / 386.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.01892, allocations: 323.4 kB / 387 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.01902, allocations: 51.75 kB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01915, allocations: 79.83 kB / 387.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008049/0.01996, allocations: 454.5 kB / 387.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.01996, allocations: 0 / 387.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01996, allocations: 4 kB / 387.6 MB, free: 8.633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.01996, allocations: 0 / 387.6 MB, free: 8.633 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.001142/0.02111, allocations: 0.6242 MB / 388.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.02115, allocations: 12.03 kB / 388.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.02138, allocations: 52.73 kB / 388.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.0217, allocations: 172.3 kB / 388.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.02193, allocations: 226.7 kB / 388.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.02197, allocations: 24.38 kB / 388.7 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.02265, allocations: 471.3 kB / 389.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.02267, allocations: 192 / 389.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.0227, allocations: 15.94 kB / 389.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.02273, allocations: 8 kB / 389.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.02361, allocations: 0.6026 MB / 389.7 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.02522, allocations: 1.35 MB / 391.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.02559, allocations: 139.3 kB / 391.2 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.02572, allocations: 71.64 kB / 391.3 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.02731, allocations: 0.7569 MB / 392.1 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.02735, allocations: 37.39 kB / 392.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.02735, allocations: 0 / 392.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007472/0.0281, allocations: 221.1 kB / 392.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.02815, allocations: 51.41 kB / 392.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.02845, allocations: 302.1 kB / 392.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.02848, allocations: 29.7 kB / 392.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.02868, allocations: 270.3 kB / 392.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.02873, allocations: 55.58 kB / 393 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.02886, allocations: 95.75 kB / 393.1 MB, free: 2.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.02914, allocations: 0.5039 MB / 393.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.02925, allocations: 48.97 kB / 393.6 MB, free: 2.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.02995, allocations: 435.8 kB / 394.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.03059, allocations: 0.5139 MB / 394.6 MB, free: 0.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.0306, allocations: 4 kB / 394.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006635/0.03126, allocations: 389.2 kB / 395 MB, free: 496 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.03128, allocations: 11.94 kB / 395 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.03129, allocations: 11.98 kB / 395 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.03132, allocations: 16 kB / 395 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.03169, allocations: 104 kB / 395.1 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.03172, allocations: 20.48 kB / 395.1 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.03194, allocations: 20 kB / 395.2 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.03198, allocations: 28 kB / 395.2 MB, free: 284 kB / 362.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.0001925/0.03217, allocations: 196.3 kB / 395.4 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.03225, allocations: 31.86 kB / 395.4 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.03262, allocations: 154.8 kB / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.03263, allocations: 4 kB / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.03264, allocations: 0 / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.03265, allocations: 3.984 kB / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.03334, allocations: 436.7 kB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.03334, allocations: 3.938 kB / 396 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.03352, allocations: 27.98 kB / 396 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.03352, allocations: 3.984 kB / 396 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.03353, allocations: 8.031 kB / 396 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.03354, allocations: 4 kB / 396 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03354, allocations: 0 / 396 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.03389, allocations: 275.4 kB / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.03397, allocations: 27.84 kB / 396.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.03402, allocations: 0 / 396.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.03422, allocations: 15.98 kB / 396.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.03425, allocations: 11.92 kB / 396.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.03427, allocations: 7.984 kB / 396.4 MB, free: 15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.03445, allocations: 193.1 kB / 396.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03445, allocations: 4 kB / 396.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005063/0.03496, allocations: 103.9 kB / 396.7 MB, free: 14.71 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.0003128/0.03527, allocations: 170.9 kB / 396.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.03563, allocations: 198.6 kB / 397 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03564, allocations: 0 / 397 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.03571, allocations: 43.61 kB / 397.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.0362, allocations: 60.67 kB / 397.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.03722, allocations: 495.2 kB / 397.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.03735, allocations: 116.9 kB / 397.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.03756, allocations: 54.84 kB / 397.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.03763, allocations: 28.48 kB / 397.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03763, allocations: 4 kB / 397.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of Templates: time 0.008972/0.0466, allocations: 3.451 MB / 401.3 MB, free: 10.09 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.254358359030448]