Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_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.001686/0.001686, allocations: 110.5 kB / 16.41 MB, free: 6.461 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.00188/0.00188, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2015/0.2015, allocations: 43.53 MB / 314.1 MB, free: 440 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.001532/0.001532, allocations: 66.03 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1153, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4126/0.5279, allocations: 152.2 MB / 0.636 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.5296, allocations: 1.213 MB / 0.6372 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.5297, allocations: 0 / 0.6372 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.53, allocations: 35.86 kB / 0.6372 GB, free: 1.406 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.5322, allocations: 0.88 MB / 0.6381 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.889e-06/0.5322, allocations: 0 / 0.6381 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.5324, allocations: 47.72 kB / 0.6382 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.5324, allocations: 0 / 0.6382 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.5325, allocations: 19.92 kB / 0.6382 GB, free: 496 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.5325, allocations: 27.84 kB / 0.6382 GB, free: 468 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.5325, allocations: 0 / 0.6382 GB, free: 468 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.5351, allocations: 1.626 MB / 0.6398 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.5351, allocations: 11.98 kB / 0.6398 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.5352, allocations: 11.94 kB / 0.6398 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.5367, allocations: 0.7758 MB / 0.6406 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5367, allocations: 0 / 0.6406 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5368, allocations: 0 / 0.6406 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5368, allocations: 0 / 0.6406 GB, free: 14.03 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008555/0.5376, allocations: 461.8 kB / 0.641 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5377, allocations: 19.83 kB / 0.641 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.5377, allocations: 34.75 kB / 0.6411 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.5378, allocations: 8.938 kB / 0.6411 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.5379, allocations: 168.1 kB / 0.6412 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5379, allocations: 3.984 kB / 0.6412 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.5379, allocations: 7.984 kB / 0.6412 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5381, allocations: 65.69 kB / 0.6413 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5381, allocations: 0 / 0.6413 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5381, allocations: 0 / 0.6413 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.5381, allocations: 11.92 kB / 0.6413 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.5382, allocations: 47.97 kB / 0.6414 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5386, allocations: 300.7 kB / 0.6416 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.827e-05/0.5387, allocations: 34.67 kB / 0.6417 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.5388, allocations: 8.844 kB / 0.6417 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.5389, allocations: 89.11 kB / 0.6418 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5389, allocations: 38.55 kB / 0.6418 GB, free: 12.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.539, allocations: 4 kB / 0.6418 GB, free: 12.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000182/0.5391, allocations: 57.55 kB / 0.6419 GB, free: 12.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5392, allocations: 51.41 kB / 0.6419 GB, free: 12.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.5393, allocations: 101.9 kB / 0.642 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.5393, allocations: 25.7 kB / 0.642 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.5393, allocations: 99.86 kB / 0.6421 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.5393, allocations: 11.91 kB / 0.6421 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.5394, allocations: 21.47 kB / 0.6422 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.5395, allocations: 318.8 kB / 0.6425 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.5395, allocations: 4 kB / 0.6425 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.5395, allocations: 35.42 kB / 0.6425 GB, free: 11.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/0.5396, allocations: 43.38 kB / 0.6425 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5396, allocations: 4 kB / 0.6426 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001033/0.5397, allocations: 65.61 kB / 0.6426 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5397, allocations: 4 kB / 0.6426 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5398, allocations: 7.938 kB / 0.6426 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5398, allocations: 0 / 0.6426 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.5399, allocations: 15.94 kB / 0.6426 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.5399, allocations: 4 kB / 0.6426 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.5399, allocations: 8.344 kB / 0.6427 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5399, allocations: 9.891 kB / 0.6427 GB, free: 11.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * 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 9.211e-05/0.54, allocations: 121.9 kB / 0.6428 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5401, allocations: 4 kB / 0.6428 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.5402, allocations: 61.06 kB / 0.6428 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5402, allocations: 0 / 0.6428 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5402, allocations: 3.625 kB / 0.6428 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5402, allocations: 0 / 0.6428 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5404, allocations: 169.7 kB / 0.643 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5404, allocations: 0 / 0.643 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.5404, allocations: 4 kB / 0.643 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5404, allocations: 0 / 0.643 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.5405, allocations: 3.938 kB / 0.643 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5405, allocations: 4 kB / 0.643 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5405, allocations: 0 / 0.643 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.5406, allocations: 135.5 kB / 0.6431 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.5407, allocations: 81.02 kB / 0.6432 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.5407, allocations: 12.44 kB / 0.6432 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.5407, allocations: 4 kB / 0.6432 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.5408, allocations: 7.938 kB / 0.6432 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5408, allocations: 0 / 0.6432 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.418e-05/0.5408, allocations: 83.27 kB / 0.6433 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5408, allocations: 0 / 0.6433 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.5413, allocations: 103.8 kB / 0.6434 GB, free: 10.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0009656/0.5422, allocations: 0.8255 MB / 0.6442 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.5424, allocations: 23.94 kB / 0.6443 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5424, allocations: 0 / 0.6443 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.5424, allocations: 11.98 kB / 0.6443 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.5427, allocations: 4 kB / 0.6443 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.5432, allocations: 218 kB / 0.6445 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5435, allocations: 0.6807 MB / 0.6451 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.5435, allocations: 14.41 kB / 0.6452 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.5436, allocations: 15.44 kB / 0.6452 GB, free: 8.855 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5436, allocations: 0 / 0.6452 GB, free: 8.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.563, allocations: 3.786 MB / 0.6489 GB, free: 5.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/8.109, allocations: 15.25 kB / 0.6489 GB, free: 5.059 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches