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.000784/0.0007841, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 186.6 kB / 16.92 MB, free: 6.934 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.507/1.507, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3682/0.3682, allocations: 43.58 MB / 315 MB, free: 9.109 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.0005173/0.0005176, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4327/0.5526, allocations: 149.3 MB / 0.579 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.5687, allocations: 13.55 MB / 0.5922 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.569, allocations: 7.938 kB / 0.5922 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.5694, allocations: 63.62 kB / 0.5923 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009041/0.5785, allocations: 3.026 MB / 0.5952 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.5789, allocations: 163 kB / 0.5954 GB, free: 4.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009871/0.5799, allocations: 0.7636 MB / 0.5961 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.58, allocations: 19.06 kB / 0.5962 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.5803, allocations: 219.1 kB / 0.5964 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.5812, allocations: 402.9 kB / 0.5967 GB, free: 3.484 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.5812, allocations: 12 kB / 0.5968 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.5923, allocations: 5.412 MB / 0.602 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.5926, allocations: 91.75 kB / 0.6021 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.5929, allocations: 181 kB / 0.6023 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.602, allocations: 2.767 MB / 0.605 GB, free: 11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6021, allocations: 0 / 0.605 GB, free: 11 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6021, allocations: 0 / 0.605 GB, free: 11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.6021, allocations: 0 / 0.605 GB, free: 11 MB / 478.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.002928/0.605, allocations: 1.047 MB / 0.606 GB, free: 9.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6051, allocations: 8.031 kB / 0.606 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.6052, allocations: 70.72 kB / 0.6061 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.6053, allocations: 36.56 kB / 0.6061 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.6057, allocations: 250.6 kB / 0.6064 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.6058, allocations: 131.5 kB / 0.6065 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.6059, allocations: 28 kB / 0.6065 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.6067, allocations: 0.5759 MB / 0.6071 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6067, allocations: 0 / 0.6071 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.6067, allocations: 12 kB / 0.6071 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.6068, allocations: 32.48 kB / 0.6071 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.6083, allocations: 1.267 MB / 0.6084 GB, free: 7.41 MB / 478.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.00248/0.6108, allocations: 1.996 MB / 0.6103 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.6115, allocations: 272 kB / 0.6106 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.6117, allocations: 118.1 kB / 0.6107 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/0.6152, allocations: 3.356 MB / 0.614 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.6153, allocations: 42.55 kB / 0.614 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.6153, allocations: 0 / 0.614 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001812/0.6171, allocations: 0.7271 MB / 0.6147 GB, free: 176 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.6172, allocations: 55.41 kB / 0.6148 GB, free: 108 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.6174, allocations: 198.3 kB / 0.615 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.6174, allocations: 29.7 kB / 0.615 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6176, allocations: 203.7 kB / 0.6152 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.6177, allocations: 153.8 kB / 0.6153 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.6178, allocations: 53.69 kB / 0.6154 GB, free: 15.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6179, allocations: 334.8 kB / 0.6157 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.6181, allocations: 109.2 kB / 0.6158 GB, free: 15.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.6185, allocations: 421.3 kB / 0.6162 GB, free: 14.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.6193, allocations: 0.5786 MB / 0.6168 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6193, allocations: 0 / 0.6168 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009333/0.6202, allocations: 0.5634 MB / 0.6173 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6203, allocations: 8 kB / 0.6173 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6203, allocations: 12 kB / 0.6173 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.6203, allocations: 16 kB / 0.6174 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.621, allocations: 204.2 kB / 0.6176 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/0.6217, allocations: 1.195 MB / 0.6187 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.6221, allocations: 23.91 kB / 0.6187 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6222, allocations: 63.98 kB / 0.6188 GB, free: 11.59 MB / 494.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.0002066/0.6224, allocations: 185.6 kB / 0.619 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6226, allocations: 27.72 kB / 0.619 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.6239, allocations: 0.635 MB / 0.6196 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.6239, allocations: 4 kB / 0.6196 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.624, allocations: 0 / 0.6196 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.624, allocations: 7.984 kB / 0.6196 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.625, allocations: 0.6497 MB / 0.6203 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.625, allocations: 0 / 0.6203 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.6254, allocations: 103.9 kB / 0.6204 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6254, allocations: 7.938 kB / 0.6204 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.6255, allocations: 12 kB / 0.6204 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006592/0.6261, allocations: 1.168 MB / 0.6215 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6261, allocations: 4.031 kB / 0.6215 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.6266, allocations: 348.5 kB / 0.6219 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.6268, allocations: 144.6 kB / 0.622 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.6269, allocations: 8 kB / 0.622 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.6272, allocations: 16.09 kB / 0.622 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.6272, allocations: 24.23 kB / 0.6221 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.6273, allocations: 24 kB / 0.6221 GB, free: 8.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.6275, allocations: 172.5 kB / 0.6222 GB, free: 7.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6275, allocations: 3.938 kB / 0.6222 GB, free: 7.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002126/0.6296, allocations: 0.5542 MB / 0.6228 GB, free: 7.336 MB / 494.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.003597/0.6332, allocations: 1.668 MB / 0.6244 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.6342, allocations: 377.8 kB / 0.6248 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6342, allocations: 0 / 0.6248 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.6346, allocations: 148 kB / 0.6249 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.6355, allocations: 131.3 kB / 0.625 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3411/0.9766, allocations: 11.39 MB / 0.6362 GB, free: 30.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.9768, allocations: 0.7719 MB / 0.6369 GB, free: 29.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007749/0.9776, allocations: 184.9 kB / 0.6371 GB, free: 29.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.9779, allocations: 131.3 kB / 0.6372 GB, free: 29.36 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/0.9779, allocations: 0 / 0.6372 GB, free: 29.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/1.019, allocations: 19.84 MB / 0.6566 GB, free: 26.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.019, allocations: 273.8 kB / 0.6569 GB, free: 25.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.675, allocations: 0 / 0.6569 GB, free: 25.74 MB / 494.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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches