Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 110.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 67.91 kB / 441.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1242, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007024/0.1313, allocations: 4.541 MB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.1363, allocations: 4.014 MB / 0.4958 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1364, allocations: 4 kB / 0.4958 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1368, allocations: 51.61 kB / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.1391, allocations: 0.7265 MB / 0.4966 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1395, allocations: 131.8 kB / 0.4967 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.1401, allocations: 374.1 kB / 0.497 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.1401, allocations: 9.688 kB / 0.497 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1403, allocations: 143.5 kB / 0.4972 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.1406, allocations: 143.5 kB / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1406, allocations: 12 kB / 0.4973 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1417, allocations: 435.5 kB / 0.4977 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.1418, allocations: 39.77 kB / 0.4978 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1419, allocations: 107.5 kB / 0.4979 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.1427, allocations: 466.5 kB / 0.4983 GB, free: 1.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1427, allocations: 3.938 kB / 0.4983 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1427, allocations: 0 / 0.4983 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1427, allocations: 4 kB / 0.4983 GB, free: 1.066 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.001278/0.144, allocations: 0.615 MB / 0.4989 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1441, allocations: 11.89 kB / 0.4989 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.1442, allocations: 54.73 kB / 0.499 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1443, allocations: 28.8 kB / 0.499 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1447, allocations: 232.1 kB / 0.4992 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.1449, allocations: 119.9 kB / 0.4994 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.1449, allocations: 28.12 kB / 0.4994 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.1455, allocations: 323.6 kB / 0.4997 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1455, allocations: 7.984 kB / 0.4997 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1455, allocations: 15.94 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.1456, allocations: 4 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.1465, allocations: 0.739 MB / 0.5004 GB, free: 14.75 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.001479/0.1479, allocations: 1.308 MB / 0.5017 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.1483, allocations: 171.6 kB / 0.5019 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1485, allocations: 81.48 kB / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/0.1513, allocations: 2.814 MB / 0.5047 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1513, allocations: 34.56 kB / 0.5047 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.1513, allocations: 0 / 0.5047 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003077/0.1516, allocations: 125.3 kB / 0.5049 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1517, allocations: 55.41 kB / 0.5049 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1519, allocations: 227.9 kB / 0.5051 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1519, allocations: 29.7 kB / 0.5052 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1521, allocations: 223.4 kB / 0.5054 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1521, allocations: 47.67 kB / 0.5054 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1523, allocations: 86.03 kB / 0.5055 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1524, allocations: 326.8 kB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.1525, allocations: 48.83 kB / 0.5059 GB, free: 8.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.1529, allocations: 343.2 kB / 0.5062 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.1533, allocations: 448.5 kB / 0.5066 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1534, allocations: 4 kB / 0.5066 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000572/0.1539, allocations: 377.5 kB / 0.507 GB, free: 7.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.154, allocations: 12 kB / 0.507 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.154, allocations: 8 kB / 0.507 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.154, allocations: 19.94 kB / 0.507 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1543, allocations: 95.83 kB / 0.5071 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.1543, allocations: 27.91 kB / 0.5071 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1545, allocations: 56.03 kB / 0.5072 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1546, allocations: 36 kB / 0.5072 GB, free: 6.789 MB / 398.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.0001399/0.1547, allocations: 145.6 kB / 0.5074 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.1548, allocations: 23.89 kB / 0.5074 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.1551, allocations: 144.4 kB / 0.5075 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.1551, allocations: 4 kB / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1551, allocations: 0 / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1551, allocations: 0 / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1557, allocations: 412.9 kB / 0.5079 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1557, allocations: 4.062 kB / 0.5079 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.1558, allocations: 24.03 kB / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1558, allocations: 3.938 kB / 0.508 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1558, allocations: 4 kB / 0.508 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1558, allocations: 0 / 0.508 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1558, allocations: 0 / 0.508 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.156, allocations: 210 kB / 0.5082 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1561, allocations: 101 kB / 0.5083 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.1561, allocations: 7.938 kB / 0.5083 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1563, allocations: 8 kB / 0.5083 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.1563, allocations: 7.984 kB / 0.5083 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1563, allocations: 4 kB / 0.5083 GB, free: 5.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1565, allocations: 156.5 kB / 0.5084 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1565, allocations: 0 / 0.5084 GB, free: 5.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.157, allocations: 87.88 kB / 0.5085 GB, free: 5.336 MB / 398.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.0007335/0.1577, allocations: 0.8045 MB / 0.5093 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1581, allocations: 166.4 kB / 0.5095 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1581, allocations: 4.062 kB / 0.5095 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.1581, allocations: 23.92 kB / 0.5095 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1585, allocations: 36.41 kB / 0.5095 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.1617, allocations: 2.822 MB / 0.5123 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.162, allocations: 0.7283 MB / 0.513 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1622, allocations: 54.92 kB / 0.513 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.1623, allocations: 67.34 kB / 0.5131 GB, free: 200 kB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1623, allocations: 0 / 0.5131 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1905, allocations: 5.215 MB / 0.5182 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.269, allocations: 3.938 kB / 0.5182 GB, free: 10.97 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches