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.001774/0.001774, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002244/0.002244, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.3098/0.3098, allocations: 46.97 MB / 361.7 MB, free: 4.074 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006889/0.3571, allocations: 4.683 MB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.3624, allocations: 4.084 MB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3626, allocations: 0 / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.363, allocations: 43.69 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.3655, allocations: 0.6837 MB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.366, allocations: 163.1 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.3668, allocations: 378.2 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3669, allocations: 17.73 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.3672, allocations: 147.5 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3675, allocations: 139.4 kB / 0.5715 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.3676, allocations: 8 kB / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.3684, allocations: 323.7 kB / 0.5718 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3685, allocations: 47.77 kB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3687, allocations: 91.58 kB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3697, allocations: 432.5 kB / 0.5723 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3697, allocations: 4 kB / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3697, allocations: 7.875 kB / 0.5723 GB, free: 8.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3697, allocations: 0 / 0.5723 GB, free: 8.969 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.001459/0.3712, allocations: 0.5207 MB / 0.5728 GB, free: 8.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3713, allocations: 8.031 kB / 0.5729 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.375e-05/0.3713, allocations: 8.688 kB / 0.5729 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.282e-05/0.3714, allocations: 58.73 kB / 0.5729 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.3716, allocations: 32.83 kB / 0.573 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3719, allocations: 170.2 kB / 0.5731 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3721, allocations: 226.7 kB / 0.5733 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3722, allocations: 27.94 kB / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.3728, allocations: 0.5066 MB / 0.5739 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3729, allocations: 0 / 0.5739 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.3729, allocations: 15.98 kB / 0.5739 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.3729, allocations: 4 kB / 0.5739 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.3739, allocations: 0.7586 MB / 0.5746 GB, free: 6.453 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.001508/0.3754, allocations: 1.088 MB / 0.5757 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.3757, allocations: 131.5 kB / 0.5758 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3759, allocations: 72.81 kB / 0.5759 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/0.3774, allocations: 0.64 MB / 0.5765 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3774, allocations: 38.56 kB / 0.5765 GB, free: 4.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.3774, allocations: 0 / 0.5765 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007628/0.3782, allocations: 228.6 kB / 0.5767 GB, free: 4.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3782, allocations: 55.41 kB / 0.5768 GB, free: 4.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3785, allocations: 210.8 kB / 0.577 GB, free: 3.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3785, allocations: 33.7 kB / 0.577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3786, allocations: 215.5 kB / 0.5772 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.3787, allocations: 51.59 kB / 0.5773 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3788, allocations: 90.03 kB / 0.5774 GB, free: 3.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.379, allocations: 330.8 kB / 0.5777 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.3791, allocations: 52.84 kB / 0.5777 GB, free: 3.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3794, allocations: 320.1 kB / 0.578 GB, free: 2.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.3799, allocations: 407.5 kB / 0.5784 GB, free: 2.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.3799, allocations: 4 kB / 0.5784 GB, free: 2.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006358/0.3805, allocations: 365.5 kB / 0.5788 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3805, allocations: 14.66 kB / 0.5788 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3806, allocations: 8.125 kB / 0.5788 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.3806, allocations: 19.88 kB / 0.5788 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.381, allocations: 111.8 kB / 0.5789 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.381, allocations: 19.94 kB / 0.579 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.3812, allocations: 20.39 kB / 0.579 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3813, allocations: 32 kB / 0.579 GB, free: 1.539 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.0001514/0.3814, allocations: 145.6 kB / 0.5791 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3815, allocations: 19.91 kB / 0.5792 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.3818, allocations: 162.8 kB / 0.5793 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.3818, allocations: 0 / 0.5793 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3818, allocations: 0 / 0.5793 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3819, allocations: 3.984 kB / 0.5793 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.3825, allocations: 406.3 kB / 0.5797 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3825, allocations: 0 / 0.5797 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.3827, allocations: 27.98 kB / 0.5797 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3827, allocations: 0 / 0.5797 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3827, allocations: 7.984 kB / 0.5797 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3827, allocations: 4.031 kB / 0.5797 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3827, allocations: 0 / 0.5797 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.383, allocations: 232.1 kB / 0.58 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.383, allocations: 23.89 kB / 0.58 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3831, allocations: 3.938 kB / 0.58 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3833, allocations: 11.98 kB / 0.58 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3833, allocations: 7.984 kB / 0.58 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3833, allocations: 8 kB / 0.58 GB, free: 420 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.3835, allocations: 152.5 kB / 0.5802 GB, free: 268 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3835, allocations: 0 / 0.5802 GB, free: 268 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000511/0.384, allocations: 95.94 kB / 0.5803 GB, free: 172 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.0008398/0.3848, allocations: 0.8183 MB / 0.5811 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3852, allocations: 173.5 kB / 0.5812 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3852, allocations: 320 / 0.5812 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.3853, allocations: 43.92 kB / 0.5813 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3857, allocations: 48.59 kB / 0.5813 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.3892, allocations: 2.716 MB / 0.584 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.3893, allocations: 124.6 kB / 0.5841 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.3895, allocations: 58.83 kB / 0.5841 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3896, allocations: 67.41 kB / 0.5842 GB, free: 11.74 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3896, allocations: 0 / 0.5842 GB, free: 11.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.4186, allocations: 6.065 MB / 0.5901 GB, free: 5.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 2.031 kB / 0.5901 GB, free: 5.855 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/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: 15.237571893958375]