Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.00137, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 80.2 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3756, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006989/0.3826, allocations: 4.605 MB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.3879, allocations: 4.006 MB / 0.5391 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3882, allocations: 1.375 kB / 0.5391 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.3886, allocations: 52.45 kB / 0.5391 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.3914, allocations: 0.7271 MB / 0.5398 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.3918, allocations: 135.9 kB / 0.54 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.3925, allocations: 374.9 kB / 0.5403 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.3926, allocations: 18.22 kB / 0.5403 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3928, allocations: 144.3 kB / 0.5405 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.3931, allocations: 138.9 kB / 0.5406 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3932, allocations: 8.656 kB / 0.5406 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3943, allocations: 431.8 kB / 0.541 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.3944, allocations: 50.98 kB / 0.5411 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3946, allocations: 105.3 kB / 0.5412 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.3955, allocations: 471.9 kB / 0.5416 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3955, allocations: 0 / 0.5416 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3956, allocations: 1.5 kB / 0.5416 GB, free: 4.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3956, allocations: 0 / 0.5416 GB, free: 4.766 MB / 398.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.001312/0.3969, allocations: 0.6088 MB / 0.5422 GB, free: 4.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.397, allocations: 9.594 kB / 0.5422 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/0.397, allocations: 58.8 kB / 0.5423 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3972, allocations: 28.14 kB / 0.5423 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3976, allocations: 234.6 kB / 0.5425 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.3978, allocations: 126.1 kB / 0.5427 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3978, allocations: 22.72 kB / 0.5427 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.3984, allocations: 322 kB / 0.543 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3984, allocations: 5.469 kB / 0.543 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3985, allocations: 11.66 kB / 0.543 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.3985, allocations: 9.562 kB / 0.543 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.3995, allocations: 0.736 MB / 0.5437 GB, free: 3.18 MB / 398.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.001626/0.4011, allocations: 1.297 MB / 0.545 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.4015, allocations: 178 kB / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.4017, allocations: 85.28 kB / 0.5452 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/0.4046, allocations: 2.806 MB / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4046, allocations: 36.84 kB / 0.548 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.4046, allocations: 0 / 0.548 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003276/0.405, allocations: 123.9 kB / 0.5481 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.405, allocations: 56.34 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.4052, allocations: 226.2 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4053, allocations: 26.89 kB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4054, allocations: 222.6 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.4055, allocations: 47.2 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4056, allocations: 81.8 kB / 0.5488 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4058, allocations: 331.8 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.4059, allocations: 44.56 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.4062, allocations: 348.7 kB / 0.5495 GB, free: 13.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.4067, allocations: 447.3 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.4067, allocations: 3.25 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005966/0.4073, allocations: 389.8 kB / 0.5503 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4073, allocations: 8 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.4073, allocations: 12 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.4074, allocations: 15.94 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.4076, allocations: 103.8 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.4077, allocations: 15.94 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.4079, allocations: 55.56 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4079, allocations: 28.41 kB / 0.5505 GB, free: 12.19 MB / 414.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.0001498/0.4081, allocations: 161.5 kB / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.4082, allocations: 19.91 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.4084, allocations: 152.4 kB / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4085, allocations: 0 / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.4085, allocations: 0 / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4085, allocations: 3.984 kB / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.409, allocations: 401 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.409, allocations: 0 / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.4091, allocations: 16.03 kB / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4091, allocations: 8 kB / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4091, allocations: 96 / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4091, allocations: 7.922 kB / 0.5512 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4091, allocations: 4 kB / 0.5512 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4093, allocations: 205.9 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.4094, allocations: 100.9 kB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.4095, allocations: 7.953 kB / 0.5515 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4096, allocations: 7.984 kB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.4096, allocations: 7.984 kB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4096, allocations: 12.06 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4098, allocations: 152.5 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.4098, allocations: 0 / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.4103, allocations: 99.81 kB / 0.5518 GB, free: 10.71 MB / 414.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.0007244/0.411, allocations: 0.7928 MB / 0.5526 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.4113, allocations: 170.1 kB / 0.5527 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4113, allocations: 320 / 0.5527 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.4114, allocations: 31.92 kB / 0.5528 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.4118, allocations: 46.66 kB / 0.5528 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.415, allocations: 2.796 MB / 0.5555 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.4154, allocations: 0.7284 MB / 0.5563 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.4156, allocations: 54.92 kB / 0.5563 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.4157, allocations: 63.41 kB / 0.5564 GB, free: 5.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4157, allocations: 0 / 0.5564 GB, free: 5.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.4436, allocations: 5.211 MB / 0.5615 GB, free: 500 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.703, allocations: 11.84 kB / 0.5615 GB, free: 492 kB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches