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.001531/0.001531, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.34 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006062/0.1348, allocations: 4.657 MB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.1391, allocations: 4.069 MB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1393, allocations: 8 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1397, allocations: 51.72 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.1414, allocations: 0.653 MB / 488.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1417, allocations: 127.4 kB / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1423, allocations: 434.1 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.1423, allocations: 21.64 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.1425, allocations: 135.4 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1428, allocations: 155.4 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.1428, allocations: 8 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.1438, allocations: 443.3 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.1439, allocations: 39.81 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.144, allocations: 111.5 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008078/0.1448, allocations: 475.1 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1448, allocations: 0 / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1448, allocations: 0 / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1448, allocations: 0 / 490.7 MB, free: 10.23 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.001115/0.146, allocations: 0.597 MB / 491.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.146, allocations: 12.88 kB / 491.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.1461, allocations: 58.73 kB / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1463, allocations: 24.75 kB / 491.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1465, allocations: 228 kB / 491.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.1466, allocations: 123.9 kB / 491.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1467, allocations: 24.12 kB / 491.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1472, allocations: 327.6 kB / 492.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1472, allocations: 0 / 492.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.1472, allocations: 15.98 kB / 492.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1472, allocations: 8 kB / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.148, allocations: 0.7352 MB / 492.9 MB, free: 7.945 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.001279/0.1493, allocations: 1.3 MB / 494.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1496, allocations: 167.7 kB / 494.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1498, allocations: 81.48 kB / 494.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.152, allocations: 2.806 MB / 497.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1521, allocations: 38.56 kB / 497.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.1521, allocations: 3.938 kB / 497.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002786/0.1523, allocations: 117.3 kB / 497.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1524, allocations: 55.41 kB / 497.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1526, allocations: 217.2 kB / 497.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1526, allocations: 29.7 kB / 497.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1527, allocations: 218.6 kB / 497.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1528, allocations: 51.38 kB / 497.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.1529, allocations: 85.94 kB / 498 MB, free: 2.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.153, allocations: 326.8 kB / 498.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.1531, allocations: 52.83 kB / 498.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.1533, allocations: 347.2 kB / 498.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.1537, allocations: 440.6 kB / 499.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.1537, allocations: 4 kB / 499.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000548/0.1543, allocations: 389.7 kB / 499.5 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1543, allocations: 8 kB / 499.5 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1543, allocations: 12 kB / 499.6 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1544, allocations: 20 kB / 499.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.1546, allocations: 95.83 kB / 499.7 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.1546, allocations: 27.86 kB / 499.7 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.1549, allocations: 51.44 kB / 499.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1549, allocations: 28 kB / 499.8 MB, free: 12 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.0001325/0.1551, allocations: 153.6 kB / 499.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.1551, allocations: 19.8 kB / 499.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.1554, allocations: 144.4 kB / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1554, allocations: 0 / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1554, allocations: 4 kB / 0.4884 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1554, allocations: 8 kB / 0.4884 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1559, allocations: 412.8 kB / 0.4888 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1559, allocations: 4 kB / 0.4888 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.156, allocations: 8 kB / 0.4888 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.156, allocations: 4 kB / 0.4888 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.156, allocations: 0 / 0.4888 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.156, allocations: 4.094 kB / 0.4888 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.156, allocations: 4 kB / 0.4888 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1562, allocations: 205.8 kB / 0.489 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.1563, allocations: 100.8 kB / 0.4891 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1563, allocations: 4 kB / 0.4891 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1565, allocations: 4 kB / 0.4891 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1565, allocations: 15.92 kB / 0.4891 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1565, allocations: 4 kB / 0.4891 GB, free: 14.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1566, allocations: 156.5 kB / 0.4893 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1566, allocations: 0 / 0.4893 GB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.1571, allocations: 95.94 kB / 0.4893 GB, free: 14.56 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.0006578/0.1578, allocations: 0.8006 MB / 0.4901 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.1581, allocations: 170.1 kB / 0.4903 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1581, allocations: 0 / 0.4903 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.1582, allocations: 23.92 kB / 0.4903 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.0004471/0.1586, allocations: 44.97 kB / 0.4904 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.1617, allocations: 2.851 MB / 0.4931 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.162, allocations: 0.7287 MB / 0.4939 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.1623, allocations: 51.36 kB / 0.4939 GB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1624, allocations: 63.36 kB / 0.494 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1624, allocations: 4 kB / 0.494 GB, free: 9.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.18, allocations: 4.972 MB / 0.4988 GB, free: 4.531 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.1803, allocations: 217.3 kB / 0.499 GB, free: 4.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.079, allocations: 0 / 0.499 GB, free: 4.27 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