Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 76.34 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03384/0.1491, allocations: 26.93 MB / 0.4952 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1523, allocations: 2.955 MB / 0.4981 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1525, allocations: 0 / 0.4981 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1529, allocations: 55.59 kB / 0.4981 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1547, allocations: 0.7227 MB / 0.4988 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1551, allocations: 143.4 kB / 0.4989 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.1556, allocations: 370.2 kB / 0.4993 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.1557, allocations: 17.62 kB / 0.4993 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2728/0.4285, allocations: 15.48 MB / 0.5144 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.4291, allocations: 149.6 kB / 0.5146 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.4292, allocations: 8.25 kB / 0.5146 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01/0.4392, allocations: 3.445 MB / 0.5179 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4394, allocations: 49.02 kB / 0.518 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.4397, allocations: 104.8 kB / 0.5181 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4414, allocations: 471.7 kB / 0.5185 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4414, allocations: 0.6562 kB / 0.5185 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4414, allocations: 0 / 0.5185 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4415, allocations: 1.156 kB / 0.5185 GB, free: 10.8 MB / 382.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.001418/0.4429, allocations: 0.5961 MB / 0.5191 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4429, allocations: 9.438 kB / 0.5191 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/0.443, allocations: 62.81 kB / 0.5192 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.4432, allocations: 25.12 kB / 0.5192 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.4435, allocations: 232.4 kB / 0.5194 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.4436, allocations: 121.9 kB / 0.5196 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.4437, allocations: 26.25 kB / 0.5196 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.4442, allocations: 326 kB / 0.5199 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4443, allocations: 1.938 kB / 0.5199 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4443, allocations: 6.281 kB / 0.5199 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4443, allocations: 11 kB / 0.5199 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008622/0.4452, allocations: 0.7384 MB / 0.5206 GB, free: 9.926 MB / 382.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.001344/0.4466, allocations: 1.304 MB / 0.5219 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.4469, allocations: 162.5 kB / 0.5221 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4471, allocations: 84.36 kB / 0.5221 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/0.4493, allocations: 2.816 MB / 0.5249 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4493, allocations: 38.48 kB / 0.5249 GB, free: 5.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.4494, allocations: 0 / 0.5249 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003202/0.4497, allocations: 117.2 kB / 0.525 GB, free: 5.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4497, allocations: 53.75 kB / 0.5251 GB, free: 5.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4499, allocations: 214.8 kB / 0.5253 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.45, allocations: 34.48 kB / 0.5253 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.45, allocations: 211.8 kB / 0.5255 GB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4501, allocations: 55.8 kB / 0.5256 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.4502, allocations: 85.8 kB / 0.5257 GB, free: 5.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.4503, allocations: 323.6 kB / 0.526 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.4503, allocations: 52.55 kB / 0.526 GB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.4506, allocations: 342.5 kB / 0.5264 GB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.451, allocations: 443.4 kB / 0.5268 GB, free: 4.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.451, allocations: 2.688 kB / 0.5268 GB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005821/0.4516, allocations: 384.9 kB / 0.5271 GB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4516, allocations: 12.25 kB / 0.5272 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4516, allocations: 11.22 kB / 0.5272 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.4517, allocations: 16.78 kB / 0.5272 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.4519, allocations: 100.1 kB / 0.5273 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.4519, allocations: 17.38 kB / 0.5273 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.4522, allocations: 54.72 kB / 0.5273 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.4522, allocations: 32.19 kB / 0.5274 GB, free: 4.309 MB / 382.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.0001089/0.4524, allocations: 150.2 kB / 0.5275 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.4524, allocations: 21.69 kB / 0.5275 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4527, allocations: 151.5 kB / 0.5277 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4527, allocations: 5.094 kB / 0.5277 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4527, allocations: 1.25 kB / 0.5277 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4527, allocations: 2.625 kB / 0.5277 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.4531, allocations: 409.9 kB / 0.5281 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4531, allocations: 1.062 kB / 0.5281 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.4532, allocations: 15.91 kB / 0.5281 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4532, allocations: 2.125 kB / 0.5281 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4532, allocations: 6.328 kB / 0.5281 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4532, allocations: 2 kB / 0.5281 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4532, allocations: 2.312 kB / 0.5281 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.4534, allocations: 207.1 kB / 0.5283 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.4534, allocations: 102.2 kB / 0.5284 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.4535, allocations: 7.531 kB / 0.5284 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4536, allocations: 5.828 kB / 0.5284 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.4537, allocations: 7.656 kB / 0.5284 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4537, allocations: 3.5 kB / 0.5284 GB, free: 3.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4538, allocations: 158.9 kB / 0.5286 GB, free: 3.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4538, allocations: 0 / 0.5286 GB, free: 3.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.4543, allocations: 96.06 kB / 0.5287 GB, free: 3.414 MB / 382.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.000517/0.4549, allocations: 0.8048 MB / 0.5295 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4552, allocations: 175 kB / 0.5296 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4552, allocations: 1.344 kB / 0.5296 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.4552, allocations: 20.56 kB / 0.5296 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.4556, allocations: 41.78 kB / 0.5297 GB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.4582, allocations: 2.805 MB / 0.5324 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.4584, allocations: 0.7273 MB / 0.5331 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.4587, allocations: 57.73 kB / 0.5332 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.4587, allocations: 61.42 kB / 0.5333 GB, free: 15.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4587, allocations: 0 / 0.5333 GB, free: 15.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.4826, allocations: 5.174 MB / 0.5383 GB, free: 14.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.764, allocations: 4 kB / 0.5383 GB, free: 14.67 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches