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.001891/0.001891, allocations: 88.33 kB / 20.96 MB, free: 3.473 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.002001/0.002001, allocations: 161.3 kB / 24.27 MB, free: 168 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.518/1.518, allocations: 177.1 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.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.3669/0.3669, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.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.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.1.|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.362e-06/1.362e-06, allocations: 0 / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.121e-05, allocations: 2.312 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007481/0.007512, allocations: 4.685 MB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.01308, allocations: 4.099 MB / 386.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.01321, allocations: 4 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.01354, allocations: 43.69 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.0155, allocations: 0.7025 MB / 386.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.01589, allocations: 159.6 kB / 387 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.01644, allocations: 377.9 kB / 387.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.01649, allocations: 9.797 kB / 387.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.0168, allocations: 199.4 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.017, allocations: 111.7 kB / 387.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.01704, allocations: 8 kB / 387.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007084/0.01774, allocations: 331.2 kB / 388 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.01784, allocations: 43.81 kB / 388.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.01797, allocations: 83.77 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.01875, allocations: 454.6 kB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01876, allocations: 0 / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01876, allocations: 0 / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.01876, allocations: 0 / 388.6 MB, free: 7.586 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.001141/0.0199, allocations: 0.5207 MB / 389.1 MB, free: 7.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01994, allocations: 8.031 kB / 389.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.02017, allocations: 52.73 kB / 389.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.02052, allocations: 173.4 kB / 389.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.02075, allocations: 226.7 kB / 389.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.0208, allocations: 24.38 kB / 389.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.02153, allocations: 0.5034 MB / 390.1 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.02154, allocations: 4.188 kB / 390.1 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.02158, allocations: 15.94 kB / 390.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.0216, allocations: 8 kB / 390.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.02258, allocations: 0.7197 MB / 390.8 MB, free: 5.168 MB / 362.7 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.001464/0.02404, allocations: 1.034 MB / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.0244, allocations: 146.3 kB / 392 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.02453, allocations: 68.81 kB / 392.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.02607, allocations: 0.6711 MB / 392.7 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.0261, allocations: 30.56 kB / 392.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.0261, allocations: 4 kB / 392.8 MB, free: 3.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007759/0.02688, allocations: 225.1 kB / 393 MB, free: 2.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.027, allocations: 51.41 kB / 393.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.02726, allocations: 238.5 kB / 393.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.02729, allocations: 29.7 kB / 393.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.0275, allocations: 211.5 kB / 393.5 MB, free: 2.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.02755, allocations: 51.58 kB / 393.6 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.02767, allocations: 86.09 kB / 393.7 MB, free: 2.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.02787, allocations: 334.8 kB / 394 MB, free: 1.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.02798, allocations: 52.97 kB / 394 MB, free: 1.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.02841, allocations: 309 kB / 394.3 MB, free: 1.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.02897, allocations: 407.5 kB / 394.7 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.02898, allocations: 8 kB / 394.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000656/0.02963, allocations: 388.9 kB / 395.1 MB, free: 480 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.02966, allocations: 14.97 kB / 395.1 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.02967, allocations: 8 kB / 395.1 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.0297, allocations: 12 kB / 395.2 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.03008, allocations: 115.8 kB / 395.3 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.0301, allocations: 19.92 kB / 395.3 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.03033, allocations: 20 kB / 395.3 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.03037, allocations: 24 kB / 395.3 MB, free: 268 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.0001539/0.03052, allocations: 153.6 kB / 395.5 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.03059, allocations: 23.86 kB / 395.5 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.03096, allocations: 162.9 kB / 395.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.03098, allocations: 4 kB / 395.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.03098, allocations: 0 / 395.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.03099, allocations: 3.984 kB / 395.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.03171, allocations: 374.4 kB / 396 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.03172, allocations: 4.031 kB / 396 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.03191, allocations: 35.91 kB / 396.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.03191, allocations: 0 / 396.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.03193, allocations: 11.94 kB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.03193, allocations: 0 / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03193, allocations: 0 / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.03222, allocations: 216.2 kB / 396.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.03229, allocations: 35.81 kB / 396.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.03233, allocations: 4 kB / 396.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.03254, allocations: 8 kB / 396.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.03257, allocations: 15.92 kB / 396.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.0326, allocations: 12.11 kB / 396.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.03275, allocations: 153.2 kB / 396.5 MB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.03275, allocations: 4 kB / 396.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005152/0.03327, allocations: 95.88 kB / 396.6 MB, free: 14.9 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.000346/0.03361, allocations: 171.1 kB / 396.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.03395, allocations: 172.9 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.03396, allocations: 4 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.03402, allocations: 31.92 kB / 397 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.03451, allocations: 61.67 kB / 397.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.0355, allocations: 494.5 kB / 397.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.03562, allocations: 112.9 kB / 397.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.03584, allocations: 66.77 kB / 397.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.03591, allocations: 28.48 kB / 397.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03591, allocations: 0 / 397.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.008303/0.04421, allocations: 3.448 MB / 401.2 MB, free: 10.32 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.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: 5.032411544001661]