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.001193/0.001193, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.12 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 80.98 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03765/0.1691, allocations: 28.67 MB / 0.4961 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.1724, allocations: 3.026 MB / 0.4991 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1726, allocations: 0 / 0.4991 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1729, allocations: 43.78 kB / 0.4991 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1749, allocations: 0.6569 MB / 0.4998 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1752, allocations: 131.1 kB / 0.4999 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.1758, allocations: 450 kB / 0.5003 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.1759, allocations: 13.67 kB / 0.5003 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.291/0.4669, allocations: 14.44 MB / 0.5145 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.4673, allocations: 147.8 kB / 0.5146 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.4674, allocations: 7 kB / 0.5146 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008858/0.4762, allocations: 3.43 MB / 0.5179 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4764, allocations: 45.28 kB / 0.518 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.4766, allocations: 106 kB / 0.5181 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.4775, allocations: 472.1 kB / 0.5185 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4775, allocations: 2.078 kB / 0.5185 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4776, allocations: 0 / 0.5185 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4776, allocations: 4 kB / 0.5185 GB, free: 10.86 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.00109/0.4787, allocations: 0.5967 MB / 0.5191 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4787, allocations: 10.09 kB / 0.5191 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.115e-05/0.4788, allocations: 55.14 kB / 0.5192 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.479, allocations: 31.06 kB / 0.5192 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4792, allocations: 224.6 kB / 0.5194 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.4793, allocations: 128.8 kB / 0.5196 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4793, allocations: 22 kB / 0.5196 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.4798, allocations: 332.6 kB / 0.5199 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4799, allocations: 1.156 kB / 0.5199 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.4799, allocations: 10.88 kB / 0.5199 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.4799, allocations: 6.875 kB / 0.5199 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.4809, allocations: 0.7347 MB / 0.5206 GB, free: 9.996 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.001161/0.482, allocations: 1.3 MB / 0.5219 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.4824, allocations: 170.7 kB / 0.5221 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4825, allocations: 82.78 kB / 0.5221 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.4843, allocations: 2.81 MB / 0.5249 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4844, allocations: 37.47 kB / 0.5249 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.4844, allocations: 0 / 0.5249 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000275/0.4846, allocations: 124.4 kB / 0.525 GB, free: 5.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.4847, allocations: 52.53 kB / 0.5251 GB, free: 5.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4848, allocations: 219.4 kB / 0.5253 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4849, allocations: 30.33 kB / 0.5253 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.4849, allocations: 216.9 kB / 0.5255 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.485, allocations: 46.7 kB / 0.5256 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.4851, allocations: 90.58 kB / 0.5257 GB, free: 5.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.4851, allocations: 322.8 kB / 0.526 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.4852, allocations: 58.94 kB / 0.526 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4854, allocations: 337.9 kB / 0.5264 GB, free: 4.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4857, allocations: 446 kB / 0.5268 GB, free: 4.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4857, allocations: 2.719 kB / 0.5268 GB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005219/0.4863, allocations: 378.1 kB / 0.5271 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4863, allocations: 10.19 kB / 0.5272 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.4863, allocations: 18.25 kB / 0.5272 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.4863, allocations: 13.31 kB / 0.5272 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4866, allocations: 104.3 kB / 0.5273 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.4866, allocations: 17.78 kB / 0.5273 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.4869, allocations: 55.66 kB / 0.5274 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.4869, allocations: 31.64 kB / 0.5274 GB, free: 4.375 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 9.629e-05/0.487, allocations: 152 kB / 0.5275 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.4871, allocations: 19.03 kB / 0.5275 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.4873, allocations: 143.4 kB / 0.5277 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4873, allocations: 2.125 kB / 0.5277 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4874, allocations: 0 / 0.5277 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4874, allocations: 4.312 kB / 0.5277 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.4877, allocations: 418 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4877, allocations: 1.5 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.4878, allocations: 10.09 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4878, allocations: 1.406 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4878, allocations: 7.781 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4878, allocations: 6.75 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4878, allocations: 1.25 kB / 0.5281 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.488, allocations: 207.6 kB / 0.5283 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.4881, allocations: 100.9 kB / 0.5284 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.4881, allocations: 8.234 kB / 0.5284 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4882, allocations: 2.781 kB / 0.5284 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.4883, allocations: 10.23 kB / 0.5284 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4883, allocations: 7.125 kB / 0.5284 GB, free: 3.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.4884, allocations: 155 kB / 0.5286 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4884, allocations: 0 / 0.5286 GB, free: 3.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.4889, allocations: 99.75 kB / 0.5287 GB, free: 3.484 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.0005238/0.4895, allocations: 0.8074 MB / 0.5295 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.4897, allocations: 168.9 kB / 0.5296 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4897, allocations: 0 / 0.5296 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.4898, allocations: 27.02 kB / 0.5297 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4903, allocations: 42.47 kB / 0.5297 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4927, allocations: 2.857 MB / 0.5325 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4929, allocations: 0.7207 MB / 0.5332 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.4931, allocations: 59.58 kB / 0.5332 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.4932, allocations: 59.33 kB / 0.5333 GB, free: 15.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4932, allocations: 0 / 0.5333 GB, free: 15.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.5095, allocations: 4.985 MB / 0.5382 GB, free: 14.38 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.5097, allocations: 214.9 kB / 0.5384 GB, free: 14.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.461, allocations: 7.312 kB / 0.5384 GB, free: 14.12 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