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.001026/0.001026, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 202.4 kB / 18.58 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, 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.2061/0.2061, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 76.66 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006372/0.1225, allocations: 4.596 MB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.1272, allocations: 4.014 MB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1274, allocations: 4 kB / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1278, allocations: 55.59 kB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.13, allocations: 0.7227 MB / 489.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1304, allocations: 135.1 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.1309, allocations: 370.1 kB / 490 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.131, allocations: 17.67 kB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1312, allocations: 147.5 kB / 490.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1314, allocations: 139.5 kB / 490.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.1314, allocations: 8 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.1323, allocations: 435.4 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.1324, allocations: 51.75 kB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1325, allocations: 103.5 kB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.1332, allocations: 467.1 kB / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1332, allocations: 0 / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1332, allocations: 0 / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1333, allocations: 4 kB / 491.4 MB, free: 9.926 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.001146/0.1344, allocations: 0.5931 MB / 491.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1345, allocations: 11.97 kB / 492 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.431e-05/0.1345, allocations: 58.73 kB / 492 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1347, allocations: 24.75 kB / 492 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1349, allocations: 224 kB / 492.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.1351, allocations: 123.9 kB / 492.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1351, allocations: 28.11 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.1356, allocations: 327.6 kB / 492.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1356, allocations: 0 / 492.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1357, allocations: 12 kB / 492.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1357, allocations: 7.984 kB / 492.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.1364, allocations: 0.7391 MB / 493.5 MB, free: 7.645 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.1377, allocations: 1.308 MB / 494.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1381, allocations: 163.7 kB / 495 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1382, allocations: 81.48 kB / 495 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/0.1405, allocations: 2.81 MB / 497.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1406, allocations: 38.56 kB / 497.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1406, allocations: 0 / 497.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002778/0.1409, allocations: 121.2 kB / 498 MB, free: 2.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1409, allocations: 59.34 kB / 498.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1411, allocations: 217.2 kB / 498.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1411, allocations: 29.7 kB / 498.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1413, allocations: 218.6 kB / 498.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1413, allocations: 43.39 kB / 498.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.1414, allocations: 85.94 kB / 498.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1415, allocations: 326.8 kB / 499 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.1416, allocations: 48.83 kB / 499 MB, free: 1.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.1419, allocations: 347.2 kB / 499.3 MB, free: 0.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1423, allocations: 440.6 kB / 499.8 MB, free: 348 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1423, allocations: 4 kB / 499.8 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005174/0.1428, allocations: 377.7 kB / 0.4884 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1428, allocations: 12 kB / 0.4884 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1428, allocations: 11.94 kB / 0.4884 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1429, allocations: 19.94 kB / 0.4885 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1431, allocations: 103.8 kB / 0.4886 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.1431, allocations: 27.86 kB / 0.4886 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1433, allocations: 47.44 kB / 0.4886 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1434, allocations: 32 kB / 0.4887 GB, free: 15.71 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.0001054/0.1435, allocations: 149.8 kB / 0.4888 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.1436, allocations: 19.81 kB / 0.4888 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1438, allocations: 148.5 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1438, allocations: 4.094 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1439, allocations: 3.938 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1439, allocations: 0 / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1443, allocations: 416.8 kB / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1443, allocations: 0 / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1444, allocations: 12 kB / 0.4894 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1444, allocations: 4.094 kB / 0.4894 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1444, allocations: 4 kB / 0.4894 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1444, allocations: 0 / 0.4894 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1444, allocations: 3.938 kB / 0.4894 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1446, allocations: 205.8 kB / 0.4896 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.1447, allocations: 104.8 kB / 0.4897 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.1447, allocations: 4 kB / 0.4897 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1448, allocations: 4 kB / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1449, allocations: 7.984 kB / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1449, allocations: 8 kB / 0.4897 GB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.145, allocations: 152.5 kB / 0.4899 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.145, allocations: 0 / 0.4899 GB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.1455, allocations: 95.92 kB / 0.49 GB, free: 14.27 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.0006149/0.1461, allocations: 0.7968 MB / 0.4907 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1464, allocations: 178.2 kB / 0.4909 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1464, allocations: 4 kB / 0.4909 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.1465, allocations: 24.05 kB / 0.4909 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1469, allocations: 46.8 kB / 0.491 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.1496, allocations: 2.787 MB / 0.4937 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1499, allocations: 0.7285 MB / 0.4944 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.1501, allocations: 58.86 kB / 0.4945 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.1502, allocations: 67.34 kB / 0.4945 GB, free: 9.141 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1502, allocations: 0 / 0.4945 GB, free: 9.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1755, allocations: 5.143 MB / 0.4996 GB, free: 4.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.473, allocations: 3.938 kB / 0.4996 GB, free: 4.09 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