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.00132/0.00132, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001443/0.001443, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.221/0.221, allocations: 46.94 MB / 361.7 MB, free: 4.25 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: "" <> 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.001927/0.001927, allocations: 59.91 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 66.04 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006984/0.3199, allocations: 5.073 MB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.3254, allocations: 4.594 MB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.3256, allocations: 0 / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3259, allocations: 63.58 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.328, allocations: 0.6721 MB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.3285, allocations: 159 kB / 0.5718 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.3291, allocations: 378.1 kB / 0.5721 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.3291, allocations: 17.8 kB / 0.5721 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.3294, allocations: 151.5 kB / 0.5723 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.3296, allocations: 139.4 kB / 0.5724 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3297, allocations: 8 kB / 0.5724 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008964/0.3305, allocations: 363.5 kB / 0.5728 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.3306, allocations: 39.88 kB / 0.5728 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3307, allocations: 111.5 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.3314, allocations: 440.6 kB / 0.5733 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3315, allocations: 8 kB / 0.5733 GB, free: 8.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3315, allocations: 0 / 0.5733 GB, free: 8.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3315, allocations: 0 / 0.5733 GB, free: 8.223 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.001065/0.3325, allocations: 0.5207 MB / 0.5739 GB, free: 7.672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3326, allocations: 8.031 kB / 0.5739 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.084e-05/0.3326, allocations: 8.688 kB / 0.5739 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.3327, allocations: 62.73 kB / 0.5739 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3328, allocations: 32.78 kB / 0.574 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.3331, allocations: 170.2 kB / 0.5741 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.3334, allocations: 226.6 kB / 0.5743 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3334, allocations: 27.94 kB / 0.5744 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.3339, allocations: 330.9 kB / 0.5747 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3339, allocations: 7.938 kB / 0.5747 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.334, allocations: 12 kB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.334, allocations: 7.984 kB / 0.5747 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.3349, allocations: 0.7508 MB / 0.5754 GB, free: 5.93 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.001443/0.3363, allocations: 1.233 MB / 0.5766 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3366, allocations: 150.9 kB / 0.5768 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3368, allocations: 68.83 kB / 0.5769 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.3381, allocations: 0.6517 MB / 0.5775 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3382, allocations: 42.44 kB / 0.5775 GB, free: 3.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.3382, allocations: 0 / 0.5775 GB, free: 3.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006812/0.3389, allocations: 225.1 kB / 0.5777 GB, free: 3.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3389, allocations: 55.34 kB / 0.5778 GB, free: 3.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3391, allocations: 210.8 kB / 0.578 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3391, allocations: 33.7 kB / 0.578 GB, free: 3.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3393, allocations: 219.5 kB / 0.5782 GB, free: 2.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.3393, allocations: 55.58 kB / 0.5783 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3394, allocations: 86.03 kB / 0.5784 GB, free: 2.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3396, allocations: 326.8 kB / 0.5787 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.3397, allocations: 48.84 kB / 0.5787 GB, free: 2.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.34, allocations: 316.1 kB / 0.579 GB, free: 1.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.3405, allocations: 411.5 kB / 0.5794 GB, free: 1.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3405, allocations: 8 kB / 0.5794 GB, free: 1.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005744/0.341, allocations: 369.9 kB / 0.5798 GB, free: 1.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3411, allocations: 12 kB / 0.5798 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3411, allocations: 11.98 kB / 0.5798 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.3411, allocations: 19.97 kB / 0.5798 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.3415, allocations: 103.8 kB / 0.5799 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.3415, allocations: 19.92 kB / 0.5799 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3417, allocations: 23.98 kB / 0.58 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3417, allocations: 27.94 kB / 0.58 GB, free: 0.8125 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.000143/0.3419, allocations: 153.5 kB / 0.5801 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.3419, allocations: 15.91 kB / 0.5802 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.3422, allocations: 154.9 kB / 0.5803 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3423, allocations: 7.984 kB / 0.5803 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3423, allocations: 0 / 0.5803 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3423, allocations: 0 / 0.5803 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3428, allocations: 414.2 kB / 0.5807 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3428, allocations: 4 kB / 0.5807 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.343, allocations: 31.97 kB / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.343, allocations: 0 / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.343, allocations: 0 / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.343, allocations: 4 kB / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.343, allocations: 0 / 0.5807 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3433, allocations: 228.2 kB / 0.581 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3434, allocations: 27.88 kB / 0.581 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3434, allocations: 3.938 kB / 0.581 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3436, allocations: 8 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3436, allocations: 11.97 kB / 0.581 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3436, allocations: 8 kB / 0.581 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3438, allocations: 152.5 kB / 0.5812 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 7.938 kB / 0.5812 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.3442, allocations: 91.94 kB / 0.5813 GB, free: 15.43 MB / 430.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.0007343/0.345, allocations: 0.8145 MB / 0.5821 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.3453, allocations: 177.9 kB / 0.5822 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3453, allocations: 0 / 0.5822 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.3454, allocations: 39.86 kB / 0.5823 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.3458, allocations: 56.83 kB / 0.5823 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.349, allocations: 2.712 MB / 0.585 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3494, allocations: 0.7285 MB / 0.5857 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3496, allocations: 62.77 kB / 0.5857 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3497, allocations: 63.42 kB / 0.5858 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3497, allocations: 0 / 0.5858 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3754, allocations: 6.007 MB / 0.5917 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.6, allocations: 4.062 kB / 0.5917 GB, free: 4.539 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: 14.716843405039981]