Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001435/0.001435, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001457/0.001457, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2315/0.2315, allocations: 46.93 MB / 361.6 MB, free: 4.281 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.89 kB / 0.497 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3355, allocations: 66.03 MB / 0.5615 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03444/0.3699, allocations: 27.15 MB / 0.588 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.3738, allocations: 2.975 MB / 0.5909 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3739, allocations: 0 / 0.5909 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.3742, allocations: 47.67 kB / 0.5909 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.3763, allocations: 0.7461 MB / 0.5916 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3767, allocations: 143.5 kB / 0.5918 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.3774, allocations: 378.1 kB / 0.5921 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.3775, allocations: 9.812 kB / 0.5922 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03749/0.4149, allocations: 15.41 MB / 0.6072 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.4153, allocations: 151.4 kB / 0.6073 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.4154, allocations: 8 kB / 0.6074 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008009/0.4234, allocations: 3.434 MB / 0.6107 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4235, allocations: 39.81 kB / 0.6107 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.4236, allocations: 107.5 kB / 0.6108 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008711/0.4245, allocations: 470.5 kB / 0.6113 GB, free: 1.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4245, allocations: 0 / 0.6113 GB, free: 1.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4245, allocations: 0 / 0.6113 GB, free: 1.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.4245, allocations: 4 kB / 0.6113 GB, free: 1.156 MB / 446.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.001127/0.4256, allocations: 0.5285 MB / 0.6118 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4257, allocations: 8.031 kB / 0.6118 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.4257, allocations: 8.688 kB / 0.6118 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.4258, allocations: 62.72 kB / 0.6119 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4259, allocations: 36.73 kB / 0.6119 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4262, allocations: 166.2 kB / 0.6121 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.4264, allocations: 238.4 kB / 0.6123 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.4264, allocations: 20.08 kB / 0.6123 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.427, allocations: 334.8 kB / 0.6127 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.427, allocations: 0 / 0.6127 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.427, allocations: 16 kB / 0.6127 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.427, allocations: 8 kB / 0.6127 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.4279, allocations: 0.7585 MB / 0.6134 GB, free: 14.85 MB / 462.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.001558/0.4294, allocations: 1.28 MB / 0.6147 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.4298, allocations: 163.7 kB / 0.6148 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.43, allocations: 77.48 kB / 0.6149 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.4316, allocations: 0.731 MB / 0.6156 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4317, allocations: 30.56 kB / 0.6156 GB, free: 12.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4317, allocations: 0 / 0.6156 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003297/0.432, allocations: 129.4 kB / 0.6158 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.432, allocations: 51.41 kB / 0.6158 GB, free: 12.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.4323, allocations: 226.7 kB / 0.616 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4323, allocations: 29.7 kB / 0.6161 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.4325, allocations: 223.5 kB / 0.6163 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4325, allocations: 39.69 kB / 0.6163 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4326, allocations: 90.03 kB / 0.6164 GB, free: 11.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4328, allocations: 330.8 kB / 0.6167 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.4329, allocations: 48.84 kB / 0.6168 GB, free: 11.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4332, allocations: 339.2 kB / 0.6171 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.4337, allocations: 448.5 kB / 0.6175 GB, free: 10.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4337, allocations: 0 / 0.6175 GB, free: 10.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006926/0.4344, allocations: 381.3 kB / 0.6179 GB, free: 9.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4344, allocations: 15.92 kB / 0.6179 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4344, allocations: 12 kB / 0.6179 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.4345, allocations: 12 kB / 0.6179 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.4347, allocations: 95.84 kB / 0.618 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.4347, allocations: 20.52 kB / 0.618 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.435, allocations: 63.56 kB / 0.6181 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.435, allocations: 28 kB / 0.6181 GB, free: 9.535 MB / 462.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.000156/0.4352, allocations: 153.6 kB / 0.6183 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.4352, allocations: 23.8 kB / 0.6183 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.4356, allocations: 148.9 kB / 0.6184 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4356, allocations: 96 / 0.6184 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4356, allocations: 7.938 kB / 0.6184 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4356, allocations: 3.984 kB / 0.6184 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.4362, allocations: 376 kB / 0.6188 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4362, allocations: 4.094 kB / 0.6188 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.4362, allocations: 19.94 kB / 0.6188 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4362, allocations: 0 / 0.6188 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4363, allocations: 4.062 kB / 0.6188 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4363, allocations: 7.938 kB / 0.6188 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4363, allocations: 0 / 0.6188 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.4366, allocations: 209.8 kB / 0.619 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.4366, allocations: 23.83 kB / 0.619 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.4367, allocations: 4 kB / 0.619 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4368, allocations: 8 kB / 0.6191 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4369, allocations: 3.984 kB / 0.6191 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4369, allocations: 4 kB / 0.6191 GB, free: 8.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.437, allocations: 156.5 kB / 0.6192 GB, free: 8.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.437, allocations: 0 / 0.6192 GB, free: 8.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.4376, allocations: 107.8 kB / 0.6193 GB, free: 8.195 MB / 462.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.0009047/0.4385, allocations: 0.7928 MB / 0.6201 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.4389, allocations: 158.2 kB / 0.6202 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4389, allocations: 4.25 kB / 0.6202 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.4389, allocations: 27.92 kB / 0.6203 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.4394, allocations: 44.52 kB / 0.6203 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.4433, allocations: 2.816 MB / 0.6231 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.4438, allocations: 0.7284 MB / 0.6238 GB, free: 3.176 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.444, allocations: 50.92 kB / 0.6238 GB, free: 3.121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.4441, allocations: 63.41 kB / 0.6239 GB, free: 3.059 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4441, allocations: 0 / 0.6239 GB, free: 3.059 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.4731, allocations: 5.615 MB / 0.6294 GB, free: 13.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.6, allocations: 10.67 kB / 0.6294 GB, free: 13.59 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.764947303046938]