Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001527/0.001527, 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.002063/0.002063, 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.91 MB / 359.6 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002789/0.002789, allocations: 67.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3324, allocations: 65.47 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03465/0.367, allocations: 27.16 MB / 0.5844 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.3708, allocations: 2.975 MB / 0.5873 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.371, allocations: 0 / 0.5873 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3713, allocations: 51.66 kB / 0.5873 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3736, allocations: 0.7422 MB / 0.588 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3739, allocations: 135.1 kB / 0.5882 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.3745, allocations: 378.1 kB / 0.5885 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.3746, allocations: 9.812 kB / 0.5885 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03605/0.4106, allocations: 15.41 MB / 0.6036 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.411, allocations: 151.4 kB / 0.6037 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.4111, allocations: 8 kB / 0.6037 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007974/0.4191, allocations: 3.434 MB / 0.6071 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.4191, allocations: 35.83 kB / 0.6071 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.4193, allocations: 111.5 kB / 0.6072 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.4202, allocations: 466.6 kB / 0.6077 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4202, allocations: 4 kB / 0.6077 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4202, allocations: 3.938 kB / 0.6077 GB, free: 4.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4202, allocations: 4 kB / 0.6077 GB, free: 4.469 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.001129/0.4214, allocations: 0.5207 MB / 0.6082 GB, free: 3.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4214, allocations: 12.03 kB / 0.6082 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.049e-05/0.4214, allocations: 8.688 kB / 0.6082 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.4215, allocations: 58.73 kB / 0.6083 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4216, allocations: 32.78 kB / 0.6083 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4219, allocations: 178 kB / 0.6085 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4221, allocations: 238.4 kB / 0.6087 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4221, allocations: 24 kB / 0.6087 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.4227, allocations: 334.8 kB / 0.609 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4227, allocations: 0 / 0.609 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.4227, allocations: 8 kB / 0.609 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4227, allocations: 12 kB / 0.6091 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.4237, allocations: 0.7508 MB / 0.6098 GB, free: 2.176 MB / 446.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.001504/0.4252, allocations: 1.291 MB / 0.611 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4255, allocations: 151.8 kB / 0.6112 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4256, allocations: 73.48 kB / 0.6113 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.4272, allocations: 0.7349 MB / 0.612 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4273, allocations: 34.56 kB / 0.612 GB, free: 15.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.4273, allocations: 0 / 0.612 GB, free: 15.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003065/0.4276, allocations: 133.3 kB / 0.6121 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.4276, allocations: 51.41 kB / 0.6122 GB, free: 15.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.4278, allocations: 222.8 kB / 0.6124 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4279, allocations: 25.7 kB / 0.6124 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.428, allocations: 227.5 kB / 0.6126 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4281, allocations: 43.69 kB / 0.6127 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.4282, allocations: 90.03 kB / 0.6128 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4284, allocations: 326.8 kB / 0.6131 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.4284, allocations: 44.84 kB / 0.6131 GB, free: 14.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.4288, allocations: 339.2 kB / 0.6134 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.4293, allocations: 452.5 kB / 0.6139 GB, free: 13.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4293, allocations: 0 / 0.6139 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006242/0.4299, allocations: 381.8 kB / 0.6142 GB, free: 13.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.43, allocations: 11.94 kB / 0.6143 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.43, allocations: 16.16 kB / 0.6143 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.43, allocations: 12 kB / 0.6143 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.4303, allocations: 103.8 kB / 0.6144 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.4303, allocations: 19.92 kB / 0.6144 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.4305, allocations: 59.56 kB / 0.6145 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.4306, allocations: 28 kB / 0.6145 GB, free: 12.85 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.0001311/0.4307, allocations: 149.6 kB / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.4307, allocations: 23.8 kB / 0.6146 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.431, allocations: 156.8 kB / 0.6148 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4311, allocations: 0 / 0.6148 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4311, allocations: 4 kB / 0.6148 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4311, allocations: 0 / 0.6148 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.4315, allocations: 380 kB / 0.6152 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4316, allocations: 0 / 0.6152 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.4316, allocations: 15.98 kB / 0.6152 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4316, allocations: 0 / 0.6152 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4316, allocations: 3.938 kB / 0.6152 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4316, allocations: 4 kB / 0.6152 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4316, allocations: 3.938 kB / 0.6152 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.4318, allocations: 209.9 kB / 0.6154 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.4319, allocations: 23.84 kB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.4319, allocations: 4 kB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.4321, allocations: 7.984 kB / 0.6154 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.4321, allocations: 7.984 kB / 0.6154 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4321, allocations: 8 kB / 0.6154 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.4322, allocations: 152.5 kB / 0.6156 GB, free: 11.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4322, allocations: 0 / 0.6156 GB, free: 11.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004958/0.4327, allocations: 103.8 kB / 0.6157 GB, free: 11.52 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.0007086/0.4334, allocations: 0.7928 MB / 0.6165 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4337, allocations: 157.4 kB / 0.6166 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4337, allocations: 4 kB / 0.6166 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.4338, allocations: 23.92 kB / 0.6166 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.4342, allocations: 56.22 kB / 0.6167 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.4378, allocations: 2.82 MB / 0.6194 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4382, allocations: 0.7206 MB / 0.6201 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.4384, allocations: 58.84 kB / 0.6202 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4385, allocations: 59.42 kB / 0.6203 GB, free: 6.379 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4385, allocations: 7.938 kB / 0.6203 GB, free: 6.371 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.4658, allocations: 5.607 MB / 0.6257 GB, free: 0.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 12.78 kB / 0.6258 GB, free: 0.9141 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.989110540016554]