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.002064/0.002064, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002494/0.002494, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 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.2363/0.2363, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 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.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 0.002125/0.002125, allocations: 63.91 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007833/0.3734, allocations: 4.696 MB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00507/0.3785, allocations: 4.088 MB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3786, allocations: 0 / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3788, allocations: 51.62 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3806, allocations: 0.672 MB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.381, allocations: 163.2 kB / 0.5705 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.3815, allocations: 378.1 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.3816, allocations: 13.8 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3818, allocations: 159.4 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3821, allocations: 127.5 kB / 0.5712 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.3821, allocations: 8 kB / 0.5712 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.3829, allocations: 323.6 kB / 0.5715 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.383, allocations: 47.75 kB / 0.5716 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3831, allocations: 91.64 kB / 0.5716 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006869/0.3838, allocations: 433 kB / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3838, allocations: 0 / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3838, allocations: 0 / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3838, allocations: 0 / 0.5721 GB, free: 8.914 MB / 414.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.001013/0.3848, allocations: 0.5246 MB / 0.5726 GB, free: 8.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3848, allocations: 12.03 kB / 0.5726 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.385, allocations: 28.84 kB / 0.5726 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3853, allocations: 170.2 kB / 0.5728 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3855, allocations: 226.7 kB / 0.573 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.3856, allocations: 24.38 kB / 0.573 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.3862, allocations: 0.5065 MB / 0.5735 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3862, allocations: 0 / 0.5735 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3862, allocations: 15.98 kB / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.3863, allocations: 8 kB / 0.5735 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.3871, allocations: 0.7157 MB / 0.5742 GB, free: 6.516 MB / 414.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.001326/0.3884, allocations: 1.038 MB / 0.5752 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3888, allocations: 139.5 kB / 0.5754 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3889, allocations: 72.77 kB / 0.5754 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.3903, allocations: 0.6593 MB / 0.5761 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3903, allocations: 34.56 kB / 0.5761 GB, free: 4.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.3903, allocations: 0 / 0.5761 GB, free: 4.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006592/0.391, allocations: 217.1 kB / 0.5763 GB, free: 4.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.391, allocations: 63.34 kB / 0.5764 GB, free: 4.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.3912, allocations: 226.6 kB / 0.5766 GB, free: 3.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3913, allocations: 25.7 kB / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3914, allocations: 223.5 kB / 0.5768 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3915, allocations: 59.58 kB / 0.5769 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3916, allocations: 82.08 kB / 0.577 GB, free: 3.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3917, allocations: 322.8 kB / 0.5773 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.3918, allocations: 52.84 kB / 0.5773 GB, free: 3.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.3921, allocations: 312.1 kB / 0.5776 GB, free: 2.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.3926, allocations: 415.5 kB / 0.578 GB, free: 2.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3926, allocations: 4 kB / 0.578 GB, free: 2.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005691/0.3932, allocations: 377.4 kB / 0.5784 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3932, allocations: 12 kB / 0.5784 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3932, allocations: 8 kB / 0.5784 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3932, allocations: 12 kB / 0.5784 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3936, allocations: 103.8 kB / 0.5785 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.3936, allocations: 24.42 kB / 0.5785 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.3938, allocations: 24 kB / 0.5786 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3938, allocations: 24 kB / 0.5786 GB, free: 1.633 MB / 414.1 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.0001444/0.394, allocations: 157.5 kB / 0.5787 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.394, allocations: 19.91 kB / 0.5788 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3944, allocations: 154.7 kB / 0.5789 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.3944, allocations: 0 / 0.5789 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3944, allocations: 3.938 kB / 0.5789 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3944, allocations: 0 / 0.5789 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.3949, allocations: 374.9 kB / 0.5793 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3949, allocations: 0 / 0.5793 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3951, allocations: 31.98 kB / 0.5793 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3951, allocations: 0 / 0.5793 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3951, allocations: 11.97 kB / 0.5793 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3951, allocations: 3.938 kB / 0.5793 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3951, allocations: 0 / 0.5793 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3954, allocations: 224.3 kB / 0.5795 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.3955, allocations: 23.84 kB / 0.5796 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3955, allocations: 7.938 kB / 0.5796 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3957, allocations: 7.984 kB / 0.5796 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.3957, allocations: 15.92 kB / 0.5796 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3957, allocations: 8 kB / 0.5796 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3959, allocations: 152.4 kB / 0.5797 GB, free: 400 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 4 kB / 0.5797 GB, free: 396 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005867/0.3965, allocations: 103.9 kB / 0.5798 GB, free: 292 kB / 414.1 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.0003085/0.3968, allocations: 166.9 kB / 0.58 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3971, allocations: 166 kB / 0.5802 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.3971, allocations: 4.062 kB / 0.5802 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.3972, allocations: 35.92 kB / 0.5802 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.3976, allocations: 48.64 kB / 0.5802 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.3985, allocations: 0.5069 MB / 0.5807 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3987, allocations: 124.5 kB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.3989, allocations: 62.77 kB / 0.5809 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.399, allocations: 27.44 kB / 0.5809 GB, free: 15.1 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.399, allocations: 0 / 0.5809 GB, free: 15.1 MB / 430.1 MB Notification: Performance of Templates: time 0.008437/0.4074, allocations: 3.748 MB / 0.5846 GB, free: 11.41 MB / 430.1 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.5290034133940935]