Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001796/0.001796, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002356/0.002356, allocations: 228.1 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002197/0.002197, allocations: 72.45 kB / 467.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 61.03 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.3124/0.4374, allocations: 27.04 MB / 0.5426 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.4406, allocations: 2.976 MB / 0.5455 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.4409, allocations: 2.25 kB / 0.5455 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.4412, allocations: 55.81 kB / 0.5455 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.444, allocations: 0.7402 MB / 0.5463 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.4444, allocations: 139.4 kB / 0.5464 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.4453, allocations: 379.1 kB / 0.5468 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.4454, allocations: 10.97 kB / 0.5468 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03592/0.4813, allocations: 15.38 MB / 0.5618 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.4817, allocations: 149.3 kB / 0.5619 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.4818, allocations: 8.719 kB / 0.5619 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009149/0.4909, allocations: 3.425 MB / 0.5653 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.491, allocations: 49.59 kB / 0.5653 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.4912, allocations: 110.2 kB / 0.5654 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.4923, allocations: 482.6 kB / 0.5659 GB, free: 4.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4923, allocations: 0 / 0.5659 GB, free: 4.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4923, allocations: 0.5312 kB / 0.5659 GB, free: 4.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4923, allocations: 0 / 0.5659 GB, free: 4.211 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.00115/0.4934, allocations: 0.5323 MB / 0.5664 GB, free: 3.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4935, allocations: 9.406 kB / 0.5664 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.4935, allocations: 61.61 kB / 0.5665 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4937, allocations: 24.12 kB / 0.5665 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.4939, allocations: 166.8 kB / 0.5667 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4941, allocations: 231.8 kB / 0.5669 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.4941, allocations: 26.84 kB / 0.5669 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.4946, allocations: 334.2 kB / 0.5672 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4946, allocations: 7.938 kB / 0.5672 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.4947, allocations: 13.11 kB / 0.5673 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4947, allocations: 5.656 kB / 0.5673 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.4955, allocations: 0.7552 MB / 0.568 GB, free: 2.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.001112/0.4966, allocations: 1.279 MB / 0.5692 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.4969, allocations: 161.1 kB / 0.5694 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4971, allocations: 74.3 kB / 0.5695 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.4983, allocations: 0.7345 MB / 0.5702 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4984, allocations: 35.94 kB / 0.5702 GB, free: 1.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.4984, allocations: 0 / 0.5702 GB, free: 1.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002682/0.4986, allocations: 124.6 kB / 0.5703 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4987, allocations: 56.72 kB / 0.5704 GB, free: 0.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4988, allocations: 224.5 kB / 0.5706 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4988, allocations: 27.08 kB / 0.5706 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.4989, allocations: 230.5 kB / 0.5709 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.4989, allocations: 38.56 kB / 0.5709 GB, free: 440 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.499, allocations: 86.72 kB / 0.571 GB, free: 380 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.4991, allocations: 326.8 kB / 0.5713 GB, free: 48 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.4991, allocations: 48.89 kB / 0.5713 GB, free: 28 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.4995, allocations: 344.4 kB / 0.5717 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5, allocations: 446.5 kB / 0.5721 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.5, allocations: 3.344 kB / 0.5721 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006234/0.5007, allocations: 380.4 kB / 0.5725 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5007, allocations: 10.38 kB / 0.5725 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5007, allocations: 10.31 kB / 0.5725 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.5007, allocations: 26.2 kB / 0.5725 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.501, allocations: 96.59 kB / 0.5726 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.501, allocations: 22.14 kB / 0.5726 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.5013, allocations: 53.12 kB / 0.5727 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.5013, allocations: 29.31 kB / 0.5727 GB, free: 14.81 MB / 430.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.0001615/0.5015, allocations: 158.8 kB / 0.5728 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.5016, allocations: 21.92 kB / 0.5729 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5018, allocations: 152.3 kB / 0.573 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5019, allocations: 2.156 kB / 0.573 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5019, allocations: 0 / 0.573 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5019, allocations: 0 / 0.573 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.5024, allocations: 384.1 kB / 0.5734 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5024, allocations: 1.219 kB / 0.5734 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.5025, allocations: 14.62 kB / 0.5734 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5025, allocations: 5.594 kB / 0.5734 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5025, allocations: 1.406 kB / 0.5734 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5025, allocations: 1.375 kB / 0.5734 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5025, allocations: 2.094 kB / 0.5734 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.5027, allocations: 210.9 kB / 0.5736 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.5028, allocations: 23.52 kB / 0.5736 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.5028, allocations: 3.125 kB / 0.5736 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.503, allocations: 7.719 kB / 0.5736 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.503, allocations: 6.734 kB / 0.5736 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.503, allocations: 8.125 kB / 0.5736 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.5031, allocations: 152.3 kB / 0.5738 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5031, allocations: 0 / 0.5738 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.5037, allocations: 97.83 kB / 0.5739 GB, free: 13.8 MB / 430.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.0007715/0.5044, allocations: 0.7997 MB / 0.5747 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.5047, allocations: 167.9 kB / 0.5748 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5047, allocations: 5.938 kB / 0.5748 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.5048, allocations: 21.2 kB / 0.5749 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.5052, allocations: 47.95 kB / 0.5749 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.5085, allocations: 2.797 MB / 0.5776 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.5089, allocations: 0.7339 MB / 0.5783 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.5091, allocations: 56.95 kB / 0.5784 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.5092, allocations: 62.75 kB / 0.5785 GB, free: 9.539 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5092, allocations: 1.281 kB / 0.5785 GB, free: 9.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.5425, allocations: 5.574 MB / 0.5839 GB, free: 6.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.61, allocations: 14.25 kB / 0.5839 GB, free: 6.574 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.685475297970697]