Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",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.001376/0.001376, allocations: 103 kB / 16.27 MB, free: 5.973 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.001419/0.001419, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2068/0.2068, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 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.002111/0.002111, allocations: 67.8 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 57.79 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3807/0.491, allocations: 153.4 MB / 0.5801 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.5057, allocations: 13.27 MB / 0.5931 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.506, allocations: 0 / 0.5931 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.5064, allocations: 79.58 kB / 0.5932 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008481/0.515, allocations: 3.449 MB / 0.5965 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.5154, allocations: 159.8 kB / 0.5967 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.516, allocations: 0.5236 MB / 0.5972 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.516, allocations: 21.88 kB / 0.5972 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.5163, allocations: 224.6 kB / 0.5974 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.517, allocations: 374.6 kB / 0.5978 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.5171, allocations: 14.84 kB / 0.5978 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009199/0.5263, allocations: 4.899 MB / 0.6026 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5265, allocations: 90.45 kB / 0.6027 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.5268, allocations: 157.1 kB / 0.6028 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007319/0.5341, allocations: 2.591 MB / 0.6054 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.5342, allocations: 0 / 0.6054 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5342, allocations: 0 / 0.6054 GB, free: 6.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.5342, allocations: 0 / 0.6054 GB, free: 6.344 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003/0.5372, allocations: 1.125 MB / 0.6065 GB, free: 5.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5373, allocations: 13.98 kB / 0.6065 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.829e-05/0.5374, allocations: 73.34 kB / 0.6065 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.5376, allocations: 32.69 kB / 0.6066 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5379, allocations: 261.4 kB / 0.6068 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.538, allocations: 133.3 kB / 0.607 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.5381, allocations: 30.03 kB / 0.607 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.5388, allocations: 0.5663 MB / 0.6075 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5389, allocations: 6.719 kB / 0.6075 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.5389, allocations: 12.97 kB / 0.6076 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.539, allocations: 28.39 kB / 0.6076 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5404, allocations: 1.27 MB / 0.6088 GB, free: 4.602 MB / 430.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.002686/0.5431, allocations: 2 MB / 0.6108 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.5439, allocations: 265.2 kB / 0.611 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.5441, allocations: 119.4 kB / 0.6111 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003976/0.5481, allocations: 3.357 MB / 0.6144 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5481, allocations: 39.75 kB / 0.6145 GB, free: 14.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.276e-06/0.5481, allocations: 3.938 kB / 0.6145 GB, free: 14.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002138/0.5503, allocations: 0.7236 MB / 0.6152 GB, free: 14.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.5503, allocations: 55.41 kB / 0.6152 GB, free: 14.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.5506, allocations: 206.6 kB / 0.6154 GB, free: 13.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5506, allocations: 41.69 kB / 0.6155 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.5507, allocations: 185.8 kB / 0.6156 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5509, allocations: 157 kB / 0.6158 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5511, allocations: 142.2 kB / 0.6159 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5512, allocations: 330.8 kB / 0.6162 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5514, allocations: 105.2 kB / 0.6163 GB, free: 12.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.5519, allocations: 425.3 kB / 0.6167 GB, free: 12.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/0.5527, allocations: 0.5755 MB / 0.6173 GB, free: 11.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5527, allocations: 4 kB / 0.6173 GB, free: 11.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001005/0.5537, allocations: 0.5733 MB / 0.6179 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5537, allocations: 8 kB / 0.6179 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5537, allocations: 12.91 kB / 0.6179 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.5538, allocations: 12 kB / 0.6179 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.5545, allocations: 203.7 kB / 0.6181 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.5552, allocations: 1.189 MB / 0.6193 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.5555, allocations: 20 kB / 0.6193 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.5557, allocations: 68.11 kB / 0.6193 GB, free: 9.539 MB / 446.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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.5559, allocations: 185.5 kB / 0.6195 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.556, allocations: 27.72 kB / 0.6195 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.5575, allocations: 0.6423 MB / 0.6202 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.5575, allocations: 7.984 kB / 0.6202 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5575, allocations: 0 / 0.6202 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5575, allocations: 3.938 kB / 0.6202 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5588, allocations: 0.6517 MB / 0.6208 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5588, allocations: 0 / 0.6208 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.5593, allocations: 103.9 kB / 0.6209 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.5593, allocations: 4 kB / 0.6209 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.5594, allocations: 11.94 kB / 0.6209 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/0.56, allocations: 1.172 MB / 0.6221 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.56, allocations: 4.031 kB / 0.6221 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.5606, allocations: 345 kB / 0.6224 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5607, allocations: 116.8 kB / 0.6225 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.5608, allocations: 11.91 kB / 0.6225 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.5611, allocations: 20.08 kB / 0.6226 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5612, allocations: 20.25 kB / 0.6226 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.5612, allocations: 27.98 kB / 0.6226 GB, free: 6.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.5614, allocations: 172.5 kB / 0.6228 GB, free: 5.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5614, allocations: 0 / 0.6228 GB, free: 5.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001892/0.5633, allocations: 0.5602 MB / 0.6233 GB, free: 5.297 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003558/0.5669, allocations: 1.66 MB / 0.6249 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.568, allocations: 393.8 kB / 0.6253 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.568, allocations: 4 kB / 0.6253 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.5684, allocations: 150.1 kB / 0.6255 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.5693, allocations: 132.7 kB / 0.6256 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.586, allocations: 11.26 MB / 0.6366 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.5864, allocations: 0.77 MB / 0.6373 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008702/0.5873, allocations: 186.8 kB / 0.6375 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.5876, allocations: 127.4 kB / 0.6376 GB, free: 7.156 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5876, allocations: 0 / 0.6376 GB, free: 7.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.6371, allocations: 20.31 MB / 0.6575 GB, free: 2.828 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.09, allocations: 15 kB / 0.6575 GB, free: 2.816 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches