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.001323/0.001323, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001456/0.001456, allocations: 206 kB / 23.73 MB, free: 4.523 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2718/0.2718, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.91 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03156/0.3746, allocations: 24.16 MB / 0.5842 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3782, allocations: 2.667 MB / 0.5868 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3783, allocations: 0 / 0.5868 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3786, allocations: 47.67 kB / 0.5869 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.3805, allocations: 0.7422 MB / 0.5876 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3808, allocations: 143.3 kB / 0.5877 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005285/0.3814, allocations: 378.1 kB / 0.5881 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.3814, allocations: 5.812 kB / 0.5881 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03875/0.4202, allocations: 15.35 MB / 0.6031 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.4206, allocations: 147.5 kB / 0.6032 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.4206, allocations: 11.94 kB / 0.6032 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009253/0.4299, allocations: 3.375 MB / 0.6065 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.43, allocations: 47.81 kB / 0.6066 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.4302, allocations: 95.58 kB / 0.6067 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009265/0.4311, allocations: 458.6 kB / 0.6071 GB, free: 4.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4311, allocations: 0 / 0.6071 GB, free: 4.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4311, allocations: 0 / 0.6071 GB, free: 4.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4311, allocations: 0 / 0.6071 GB, free: 4.363 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.001269/0.4324, allocations: 0.5324 MB / 0.6076 GB, free: 3.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4324, allocations: 12.03 kB / 0.6076 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.557e-05/0.4325, allocations: 58.73 kB / 0.6077 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4326, allocations: 28.8 kB / 0.6077 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.433, allocations: 170.2 kB / 0.6079 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.4332, allocations: 226.7 kB / 0.6081 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4333, allocations: 27.94 kB / 0.6081 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.4339, allocations: 489 kB / 0.6086 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4339, allocations: 0 / 0.6086 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.434, allocations: 11.98 kB / 0.6086 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.434, allocations: 15.98 kB / 0.6086 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.4348, allocations: 0.7195 MB / 0.6093 GB, free: 1.918 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.001421/0.4363, allocations: 1.081 MB / 0.6104 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.4366, allocations: 159.7 kB / 0.6105 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4367, allocations: 77.48 kB / 0.6106 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.4384, allocations: 0.7076 MB / 0.6113 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4384, allocations: 42.53 kB / 0.6113 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.4384, allocations: 4 kB / 0.6113 GB, free: 15.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003157/0.4387, allocations: 117.4 kB / 0.6115 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4388, allocations: 55.41 kB / 0.6115 GB, free: 15.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.439, allocations: 238.6 kB / 0.6117 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.439, allocations: 29.7 kB / 0.6118 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4392, allocations: 227.4 kB / 0.612 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.4392, allocations: 47.67 kB / 0.612 GB, free: 15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.4393, allocations: 82.05 kB / 0.6121 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4395, allocations: 330.8 kB / 0.6124 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.4396, allocations: 44.84 kB / 0.6125 GB, free: 14.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.44, allocations: 343.2 kB / 0.6128 GB, free: 14.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.4405, allocations: 444.6 kB / 0.6132 GB, free: 13.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4405, allocations: 4 kB / 0.6132 GB, free: 13.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006075/0.4411, allocations: 385.9 kB / 0.6136 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4411, allocations: 8 kB / 0.6136 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4412, allocations: 15.94 kB / 0.6136 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.4412, allocations: 20 kB / 0.6136 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.4414, allocations: 99.83 kB / 0.6137 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.4415, allocations: 15.94 kB / 0.6137 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.4417, allocations: 55.62 kB / 0.6138 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.4417, allocations: 31.98 kB / 0.6138 GB, free: 12.84 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.0001581/0.4419, allocations: 149.6 kB / 0.614 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.442, allocations: 19.86 kB / 0.614 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.4422, allocations: 148.9 kB / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.4422, allocations: 0 / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4423, allocations: 0 / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4423, allocations: 4 kB / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.4428, allocations: 379.9 kB / 0.6145 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4428, allocations: 4.094 kB / 0.6145 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.4428, allocations: 19.98 kB / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4428, allocations: 96 / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.4428, allocations: 4 kB / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.4428, allocations: 11.94 kB / 0.6145 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4428, allocations: 0 / 0.6145 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4431, allocations: 205.9 kB / 0.6147 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.4431, allocations: 23.84 kB / 0.6148 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4432, allocations: 4 kB / 0.6148 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4433, allocations: 7.984 kB / 0.6148 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.4433, allocations: 8 kB / 0.6148 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.4433, allocations: 7.984 kB / 0.6148 GB, free: 11.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.4435, allocations: 156.5 kB / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4435, allocations: 0 / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.444, allocations: 91.88 kB / 0.615 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.0006872/0.4447, allocations: 0.8005 MB / 0.6158 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.4449, allocations: 166.3 kB / 0.616 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4449, allocations: 0 / 0.616 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.445, allocations: 23.92 kB / 0.616 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4454, allocations: 55.44 kB / 0.616 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.4486, allocations: 2.809 MB / 0.6188 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.4487, allocations: 120.5 kB / 0.6189 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.4489, allocations: 54.91 kB / 0.6189 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.4489, allocations: 59.42 kB / 0.619 GB, free: 6.996 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.449, allocations: 4 kB / 0.619 GB, free: 6.992 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4799, allocations: 5.986 MB / 0.6248 GB, free: 1.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.07, allocations: 2.75 kB / 0.6248 GB, free: 1.176 MB / 462.1 MB " [Timeout remaining time 649] (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.158763588988222]