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.001438/0.001438, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 72.7 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005521/0.1166, allocations: 4.645 MB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.1209, allocations: 3.995 MB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.121, allocations: 4 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1213, allocations: 43.78 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.1229, allocations: 0.6725 MB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1233, allocations: 127.2 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1238, allocations: 374.1 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.1239, allocations: 13.67 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1241, allocations: 147.4 kB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1243, allocations: 155.5 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1243, allocations: 8 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.1251, allocations: 435.4 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.1252, allocations: 47.75 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1254, allocations: 107.5 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.126, allocations: 475 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.126, allocations: 4 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.126, allocations: 0 / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1261, allocations: 0 / 490.8 MB, free: 10.24 MB / 366.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.00111/0.1272, allocations: 0.5892 MB / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1272, allocations: 12.03 kB / 491.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.1273, allocations: 62.73 kB / 491.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1274, allocations: 28.73 kB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1277, allocations: 232 kB / 491.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1278, allocations: 123.9 kB / 491.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1278, allocations: 24.12 kB / 491.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.1283, allocations: 327.6 kB / 492.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1284, allocations: 0 / 492.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.1284, allocations: 8 kB / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1284, allocations: 8 kB / 492.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.1292, allocations: 0.7352 MB / 492.9 MB, free: 7.965 MB / 366.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.001309/0.1305, allocations: 1.304 MB / 494.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.1309, allocations: 167.7 kB / 494.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.131, allocations: 89.47 kB / 494.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/0.1336, allocations: 2.798 MB / 497.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1336, allocations: 38.5 kB / 497.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1336, allocations: 3.938 kB / 497.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003074/0.1339, allocations: 121.3 kB / 497.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.134, allocations: 55.34 kB / 497.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1342, allocations: 217.2 kB / 497.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1342, allocations: 29.7 kB / 497.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1343, allocations: 214.6 kB / 497.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.1344, allocations: 47.39 kB / 498 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.1345, allocations: 85.94 kB / 498.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1346, allocations: 330.8 kB / 498.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1347, allocations: 48.84 kB / 498.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.135, allocations: 347.2 kB / 498.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1355, allocations: 448.6 kB / 499.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.1355, allocations: 4 kB / 499.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005387/0.136, allocations: 384.9 kB / 499.6 MB, free: 272 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1361, allocations: 10.66 kB / 499.6 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1361, allocations: 12.91 kB / 499.6 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1361, allocations: 15.94 kB / 499.6 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1364, allocations: 103.8 kB / 499.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.1364, allocations: 19.88 kB / 499.8 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1366, allocations: 59.42 kB / 499.8 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1367, allocations: 27.98 kB / 499.8 MB, free: 24 kB / 366.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.0001546/0.1368, allocations: 153.6 kB / 500 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.1369, allocations: 15.81 kB / 0.4883 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1372, allocations: 148.8 kB / 0.4884 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.1372, allocations: 11.97 kB / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1372, allocations: 0 / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1372, allocations: 0 / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1377, allocations: 408.8 kB / 0.4888 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1377, allocations: 4 kB / 0.4888 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.1378, allocations: 12 kB / 0.4889 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1378, allocations: 3.984 kB / 0.4889 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1378, allocations: 4 kB / 0.4889 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1378, allocations: 4 kB / 0.4889 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1378, allocations: 0 / 0.4889 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.138, allocations: 205.9 kB / 0.4891 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1381, allocations: 100.8 kB / 0.4892 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1382, allocations: 4 kB / 0.4892 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1383, allocations: 3.984 kB / 0.4892 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.1383, allocations: 12 kB / 0.4892 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1384, allocations: 8 kB / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1385, allocations: 156.5 kB / 0.4893 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1385, allocations: 0 / 0.4893 GB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.139, allocations: 95.92 kB / 0.4894 GB, free: 14.57 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.0008129/0.1398, allocations: 0.7967 MB / 0.4902 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1402, allocations: 180.5 kB / 0.4904 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1402, allocations: 1.875 kB / 0.4904 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.1402, allocations: 23.94 kB / 0.4904 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1407, allocations: 46.98 kB / 0.4904 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.1437, allocations: 2.861 MB / 0.4932 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.144, allocations: 0.7245 MB / 0.4939 GB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.1443, allocations: 50.92 kB / 0.494 GB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.1444, allocations: 59.42 kB / 0.494 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1444, allocations: 0 / 0.494 GB, free: 9.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.161, allocations: 5.066 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.1613, allocations: 211.2 kB / 0.4992 GB, free: 4.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.162, allocations: 0 / 0.4992 GB, free: 4.211 MB / 382.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