Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001343/0.001343, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001621/0.001621, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 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.2137/0.2137, allocations: 32.81 MB / 294.1 MB, free: 16 kB / 270.1 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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.89 kB / 440.6 MB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3051, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02233/0.3274, allocations: 24.16 MB / 0.5178 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.33, allocations: 2.667 MB / 0.5204 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.3301, allocations: 1.375 kB / 0.5204 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3304, allocations: 50.22 kB / 0.5204 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.3324, allocations: 0.7431 MB / 0.5212 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.3327, allocations: 135 kB / 0.5213 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.3332, allocations: 372.9 kB / 0.5217 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.3333, allocations: 8.297 kB / 0.5217 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04111/0.3744, allocations: 15.39 MB / 0.5367 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.3748, allocations: 144.4 kB / 0.5368 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.3749, allocations: 11.25 kB / 0.5368 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009411/0.3843, allocations: 3.372 MB / 0.5401 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3844, allocations: 56.12 kB / 0.5402 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3846, allocations: 89.09 kB / 0.5403 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3856, allocations: 468.2 kB / 0.5407 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3856, allocations: 0 / 0.5407 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3856, allocations: 0 / 0.5407 GB, free: 4.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3856, allocations: 0 / 0.5407 GB, free: 4.031 MB / 446.1 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.001111/0.3867, allocations: 0.5244 MB / 0.5412 GB, free: 3.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3868, allocations: 9.062 kB / 0.5412 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.3869, allocations: 31.38 kB / 0.5413 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.3873, allocations: 167.8 kB / 0.5414 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.3875, allocations: 234.5 kB / 0.5416 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3875, allocations: 30.58 kB / 0.5417 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.388, allocations: 488.7 kB / 0.5421 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.388, allocations: 0 / 0.5421 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.3881, allocations: 10.97 kB / 0.5422 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3881, allocations: 14.56 kB / 0.5422 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.3888, allocations: 0.7159 MB / 0.5429 GB, free: 2.363 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3898, allocations: 1.042 MB / 0.5439 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.3902, allocations: 148.9 kB / 0.544 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.3904, allocations: 76.08 kB / 0.5441 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.3917, allocations: 0.7258 MB / 0.5448 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3918, allocations: 36.19 kB / 0.5448 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3918, allocations: 1.219 kB / 0.5448 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00028/0.3921, allocations: 114.5 kB / 0.545 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.3921, allocations: 61.08 kB / 0.545 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3923, allocations: 236.8 kB / 0.5452 GB, free: 420 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3923, allocations: 29.7 kB / 0.5453 GB, free: 384 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.3924, allocations: 226.3 kB / 0.5455 GB, free: 168 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.3924, allocations: 51.67 kB / 0.5455 GB, free: 124 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.3925, allocations: 87.25 kB / 0.5456 GB, free: 64 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3926, allocations: 327 kB / 0.5459 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.3927, allocations: 43.69 kB / 0.546 GB, free: 15.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.393, allocations: 347.2 kB / 0.5463 GB, free: 15.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.3935, allocations: 447.9 kB / 0.5467 GB, free: 14.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3935, allocations: 3.375 kB / 0.5467 GB, free: 14.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005859/0.3941, allocations: 379.9 kB / 0.5471 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3941, allocations: 9.875 kB / 0.5471 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3942, allocations: 14.34 kB / 0.5471 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.3942, allocations: 13.62 kB / 0.5471 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3944, allocations: 101.6 kB / 0.5472 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.3945, allocations: 26.42 kB / 0.5473 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3947, allocations: 53.69 kB / 0.5473 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.3948, allocations: 32.5 kB / 0.5473 GB, free: 14.52 MB / 462.1 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.0002322/0.395, allocations: 152.6 kB / 0.5475 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.395, allocations: 21.92 kB / 0.5475 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.3954, allocations: 146 kB / 0.5476 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.3954, allocations: 7.875 kB / 0.5476 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3954, allocations: 0 / 0.5476 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3954, allocations: 0 / 0.5476 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.396, allocations: 352 kB / 0.548 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.396, allocations: 1.25 kB / 0.548 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.3961, allocations: 26.2 kB / 0.548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3961, allocations: 2.844 kB / 0.548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3961, allocations: 1.562 kB / 0.548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3961, allocations: 1.5 kB / 0.548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3961, allocations: 1.375 kB / 0.548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3964, allocations: 200.9 kB / 0.5482 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3965, allocations: 26.98 kB / 0.5482 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3965, allocations: 3.609 kB / 0.5482 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.3967, allocations: 13.75 kB / 0.5482 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.3967, allocations: 3.625 kB / 0.5483 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3967, allocations: 7.594 kB / 0.5483 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3969, allocations: 154 kB / 0.5484 GB, free: 13.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 0.5484 GB, free: 13.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.3975, allocations: 102.1 kB / 0.5485 GB, free: 13.54 MB / 462.1 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.0003982/0.3979, allocations: 155.2 kB / 0.5487 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.3984, allocations: 160.8 kB / 0.5488 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3984, allocations: 5.25 kB / 0.5488 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.3985, allocations: 25.92 kB / 0.5488 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.3992, allocations: 55.88 kB / 0.5489 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4009, allocations: 0.5357 MB / 0.5494 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4011, allocations: 120 kB / 0.5495 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.4014, allocations: 54.31 kB / 0.5496 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.4015, allocations: 32.02 kB / 0.5496 GB, free: 12.77 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4015, allocations: 1.125 kB / 0.5496 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Templates: time 0.0112/0.4127, allocations: 3.074 MB / 0.5526 GB, free: 11.19 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.142317140009254]