Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.001156/0.001156, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001247/0.001247, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1953/0.1953, 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.001557/0.001557, allocations: 75.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4339/0.5358, allocations: 196.4 MB / 0.6792 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.5499, allocations: 10.29 MB / 0.6893 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.5511, allocations: 19.88 kB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.5527, allocations: 437.5 kB / 0.6897 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.5606, allocations: 2.575 MB / 0.6922 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007864/0.5685, allocations: 2.653 MB / 0.6948 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.5719, allocations: 2.189 MB / 0.697 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.5731, allocations: 0.6025 MB / 0.6975 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.5785, allocations: 1.966 MB / 0.6995 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.5803, allocations: 0.8605 MB / 0.7003 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.5807, allocations: 92 kB / 0.7004 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.5921, allocations: 5.738 MB / 0.706 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007587/0.5929, allocations: 434.9 kB / 0.7064 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.5941, allocations: 0.529 MB / 0.7069 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.6045, allocations: 4.073 MB / 0.7109 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6046, allocations: 4 kB / 0.7109 GB, free: 5.758 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6046, allocations: 0 / 0.7109 GB, free: 5.758 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.422e-05/0.6046, allocations: 0 / 0.7109 GB, free: 5.758 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005361/0.61, allocations: 1.796 MB / 0.7127 GB, free: 3.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6101, allocations: 11.89 kB / 0.7127 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.6104, allocations: 122.5 kB / 0.7128 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.6109, allocations: 114.8 kB / 0.7129 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.6121, allocations: 0.6249 MB / 0.7135 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.6122, allocations: 114.3 kB / 0.7136 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.6124, allocations: 75.89 kB / 0.7137 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.6144, allocations: 1.169 MB / 0.7148 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.6144, allocations: 4 kB / 0.7148 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6145, allocations: 31.98 kB / 0.7149 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.56e-05/0.6146, allocations: 65.91 kB / 0.7149 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.6167, allocations: 1.171 MB / 0.7161 GB, free: 316 kB / 0.545 GB 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.007244/0.624, allocations: 4.991 MB / 0.721 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.6257, allocations: 0.8301 MB / 0.7218 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.6263, allocations: 422.3 kB / 0.7222 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/0.6279, allocations: 1.896 MB / 0.724 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.6279, allocations: 43.06 kB / 0.7241 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.628, allocations: 0 / 0.7241 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01381/0.6418, allocations: 4.017 MB / 0.728 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6419, allocations: 111.5 kB / 0.7281 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.6429, allocations: 0.664 MB / 0.7287 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.6431, allocations: 45.7 kB / 0.7288 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.6434, allocations: 379.6 kB / 0.7291 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.6437, allocations: 291.8 kB / 0.7294 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.6441, allocations: 206.4 kB / 0.7296 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6443, allocations: 394.7 kB / 0.73 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.6454, allocations: 497.7 kB / 0.7305 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.6467, allocations: 0.7532 MB / 0.7312 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.6491, allocations: 1.281 MB / 0.7325 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.6491, allocations: 0 / 0.7325 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003852/0.653, allocations: 1.7 MB / 0.7341 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.6531, allocations: 8 kB / 0.7341 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.6531, allocations: 12.03 kB / 0.7341 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007465/0.6606, allocations: 1.327 MB / 0.7354 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.6614, allocations: 155.7 kB / 0.7356 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.6643, allocations: 1.533 MB / 0.7371 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.6654, allocations: 56.02 kB / 0.7371 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.6656, allocations: 67.84 kB / 0.7372 GB, free: 9.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.000615/0.6663, allocations: 289.5 kB / 0.7375 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.6666, allocations: 98.92 kB / 0.7376 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.6702, allocations: 1.631 MB / 0.7392 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.6702, allocations: 12 kB / 0.7392 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6703, allocations: 3.938 kB / 0.7392 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.6703, allocations: 3.984 kB / 0.7392 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/0.6752, allocations: 2.547 MB / 0.7417 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6753, allocations: 4 kB / 0.7417 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.6766, allocations: 267.8 kB / 0.7419 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.6786, allocations: 368.4 kB / 0.7423 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.6788, allocations: 35.97 kB / 0.7423 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.6815, allocations: 2.351 MB / 0.7446 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6816, allocations: 3.938 kB / 0.7446 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.6859, allocations: 2.023 MB / 0.7466 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.6867, allocations: 291.9 kB / 0.7469 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.687, allocations: 24 kB / 0.7469 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6881, allocations: 51.95 kB / 0.7469 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.6883, allocations: 68.84 kB / 0.747 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.6885, allocations: 51.97 kB / 0.747 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008233/0.6893, allocations: 0.4951 MB / 0.7475 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6893, allocations: 0 / 0.7475 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00243/0.6918, allocations: 0.7104 MB / 0.7482 GB, free: 13.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006892/0.6987, allocations: 3.363 MB / 0.7515 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.7018, allocations: 1.244 MB / 0.7527 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7018, allocations: 0 / 0.7527 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.7037, allocations: 0.7134 MB / 0.7534 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.7065, allocations: 0.528 MB / 0.7539 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2622/0.9687, allocations: 9.682 MB / 0.7634 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.9693, allocations: 1.042 MB / 0.7644 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9705, allocations: 303.8 kB / 0.7647 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.971, allocations: 343.5 kB / 0.765 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.971, allocations: 0 / 0.765 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/1.052, allocations: 46.09 MB / 0.81 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.38, allocations: 19.44 kB / 0.8101 GB, free: 197.5 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches