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.001114/0.001114, allocations: 107.7 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.001208/0.001208, allocations: 192.2 kB / 17.34 MB, free: 5.727 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.421/1.421, 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.2152/0.2152, allocations: 43.51 MB / 314.1 MB, free: 456 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.001798/0.001798, allocations: 65.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1296, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007867/0.1375, allocations: 4.537 MB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005041/0.1426, allocations: 4.018 MB / 0.4958 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.1429, allocations: 0 / 0.4958 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1432, allocations: 55.61 kB / 0.4958 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.1454, allocations: 0.7266 MB / 0.4965 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1458, allocations: 131.7 kB / 0.4967 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007872/0.1466, allocations: 386 kB / 0.497 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.1467, allocations: 9.969 kB / 0.497 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.147, allocations: 143.5 kB / 0.4972 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1474, allocations: 143.5 kB / 0.4973 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.1475, allocations: 8 kB / 0.4973 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1487, allocations: 427.5 kB / 0.4977 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1489, allocations: 47.77 kB / 0.4978 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1491, allocations: 103.5 kB / 0.4979 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1504, allocations: 466.8 kB / 0.4983 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1505, allocations: 7.875 kB / 0.4983 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1505, allocations: 0 / 0.4983 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.1505, allocations: 4 kB / 0.4983 GB, free: 1.031 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.001443/0.1519, allocations: 0.6003 MB / 0.4989 GB, free: 396 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.152, allocations: 11.89 kB / 0.4989 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.1521, allocations: 62.72 kB / 0.499 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1523, allocations: 32.66 kB / 0.499 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.1526, allocations: 228.1 kB / 0.4992 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.1528, allocations: 123.9 kB / 0.4994 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1528, allocations: 24.12 kB / 0.4994 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.1534, allocations: 331.6 kB / 0.4997 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1534, allocations: 0 / 0.4997 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.1535, allocations: 12 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1535, allocations: 7.984 kB / 0.4997 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.1543, allocations: 0.7352 MB / 0.5004 GB, free: 14.73 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.001667/0.156, allocations: 1.3 MB / 0.5017 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.1564, allocations: 179.6 kB / 0.5019 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1566, allocations: 81.48 kB / 0.502 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002728/0.1593, allocations: 2.81 MB / 0.5047 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1594, allocations: 34.56 kB / 0.5047 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1594, allocations: 4 kB / 0.5047 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003098/0.1597, allocations: 125.3 kB / 0.5049 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1597, allocations: 55.34 kB / 0.5049 GB, free: 9.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.16, allocations: 223.8 kB / 0.5051 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.1601, allocations: 25.7 kB / 0.5051 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1603, allocations: 222.6 kB / 0.5054 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1603, allocations: 39.45 kB / 0.5054 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1605, allocations: 85.94 kB / 0.5055 GB, free: 8.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1606, allocations: 326.8 kB / 0.5058 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.1607, allocations: 48.84 kB / 0.5058 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.161, allocations: 343.2 kB / 0.5062 GB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.1614, allocations: 444.6 kB / 0.5066 GB, free: 7.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.1615, allocations: 7.938 kB / 0.5066 GB, free: 7.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005991/0.1621, allocations: 381.2 kB / 0.507 GB, free: 7.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.1621, allocations: 12 kB / 0.507 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.1621, allocations: 8 kB / 0.507 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.1622, allocations: 19.94 kB / 0.507 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1624, allocations: 96.52 kB / 0.5071 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.1625, allocations: 23.92 kB / 0.5071 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1627, allocations: 47.53 kB / 0.5072 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1628, allocations: 31.98 kB / 0.5072 GB, free: 6.793 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.0001384/0.1629, allocations: 153.5 kB / 0.5073 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.163, allocations: 19.72 kB / 0.5074 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.1633, allocations: 148.5 kB / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.1633, allocations: 7.938 kB / 0.5075 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1633, allocations: 0 / 0.5075 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1633, allocations: 0 / 0.5075 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.1638, allocations: 409 kB / 0.5079 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1639, allocations: 4 kB / 0.5079 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.1639, allocations: 19.92 kB / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1639, allocations: 0 / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.164, allocations: 4 kB / 0.5079 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.164, allocations: 3.938 kB / 0.5079 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.164, allocations: 0 / 0.5079 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1642, allocations: 209.8 kB / 0.5081 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.1643, allocations: 92.92 kB / 0.5082 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.1644, allocations: 15.92 kB / 0.5082 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1645, allocations: 7.984 kB / 0.5082 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1645, allocations: 7.984 kB / 0.5082 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1646, allocations: 8 kB / 0.5082 GB, free: 5.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1647, allocations: 152.5 kB / 0.5084 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1647, allocations: 4 kB / 0.5084 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.1652, allocations: 91.94 kB / 0.5085 GB, free: 5.328 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.0007489/0.166, allocations: 0.7929 MB / 0.5093 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.1664, allocations: 170.1 kB / 0.5094 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.1664, allocations: 4 kB / 0.5094 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.1665, allocations: 19.92 kB / 0.5094 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1669, allocations: 40.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.003342/0.1703, allocations: 2.819 MB / 0.5122 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1707, allocations: 0.7244 MB / 0.5129 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.1709, allocations: 54.92 kB / 0.513 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.171, allocations: 59.42 kB / 0.5131 GB, free: 216 kB / 398.1 MB Notification: Performance of SimCode: time 2.014e-06/0.171, allocations: 0 / 0.5131 GB, free: 216 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.1969, allocations: 5.273 MB / 0.5182 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.762, allocations: 4.062 kB / 0.5182 GB, free: 10.93 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