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.001077/0.001077, allocations: 103 kB / 16.02 MB, free: 76 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.001542/0.001542, allocations: 184.9 kB / 16.92 MB, free: 6.914 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.6/1.6, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.4001/0.4001, allocations: 43.57 MB / 315 MB, free: 9.031 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.0005063/0.0005063, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3854/0.506, allocations: 148.1 MB / 0.5778 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.5078, allocations: 1.287 MB / 0.5791 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.5078, allocations: 3.938 kB / 0.5791 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.5082, allocations: 41.67 kB / 0.5791 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.5101, allocations: 0.7352 MB / 0.5798 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.5101, allocations: 0 / 0.5798 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.5102, allocations: 95.66 kB / 0.5799 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.5103, allocations: 4 kB / 0.5799 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.5103, allocations: 15.97 kB / 0.5799 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.5104, allocations: 23.92 kB / 0.5799 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-06/0.5104, allocations: 0 / 0.5799 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.5128, allocations: 1.735 MB / 0.5816 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.5129, allocations: 11.98 kB / 0.5817 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.5129, allocations: 41.58 kB / 0.5817 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.5141, allocations: 0.8186 MB / 0.5825 GB, free: 2.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5141, allocations: 0 / 0.5825 GB, free: 2.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5141, allocations: 0 / 0.5825 GB, free: 2.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.5141, allocations: 0 / 0.5825 GB, free: 2.191 MB / 446.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.0006524/0.5148, allocations: 461.4 kB / 0.5829 GB, free: 1.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5149, allocations: 16.03 kB / 0.5829 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.5149, allocations: 35.44 kB / 0.583 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.5149, allocations: 6.5 kB / 0.583 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.5151, allocations: 168.6 kB / 0.5832 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5151, allocations: 4 kB / 0.5832 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5151, allocations: 4 kB / 0.5832 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.5153, allocations: 66.8 kB / 0.5832 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5153, allocations: 0 / 0.5832 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5153, allocations: 4 kB / 0.5832 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.5153, allocations: 15.91 kB / 0.5832 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.5154, allocations: 47.98 kB / 0.5833 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.5158, allocations: 301.6 kB / 0.5836 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.5159, allocations: 34.67 kB / 0.5836 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.516, allocations: 8.859 kB / 0.5836 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.5161, allocations: 93.09 kB / 0.5837 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5161, allocations: 34.56 kB / 0.5837 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5161, allocations: 3.938 kB / 0.5837 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.5163, allocations: 57 kB / 0.5838 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.5164, allocations: 59.33 kB / 0.5839 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.5165, allocations: 97.86 kB / 0.5839 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5165, allocations: 25.7 kB / 0.584 GB, free: 476 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.5166, allocations: 99.88 kB / 0.5841 GB, free: 372 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.5166, allocations: 11.91 kB / 0.5841 GB, free: 360 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.5166, allocations: 13.72 kB / 0.5841 GB, free: 340 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5167, allocations: 310.8 kB / 0.5844 GB, free: 20 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.5167, allocations: 7.984 kB / 0.5844 GB, free: 12 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.5168, allocations: 31.44 kB / 0.5844 GB, free: 15.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.5169, allocations: 51.36 kB / 0.5845 GB, free: 15.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5169, allocations: 0 / 0.5845 GB, free: 15.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.177e-05/0.517, allocations: 61.62 kB / 0.5845 GB, free: 15.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.517, allocations: 4 kB / 0.5845 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.517, allocations: 8.5 kB / 0.5845 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.517, allocations: 3.984 kB / 0.5845 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.5171, allocations: 15.94 kB / 0.5846 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5171, allocations: 4.094 kB / 0.5846 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.5172, allocations: 11.84 kB / 0.5846 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5172, allocations: 7.5 kB / 0.5846 GB, free: 15.79 MB / 462.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 8.369e-05/0.5173, allocations: 113.8 kB / 0.5847 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.5173, allocations: 3.984 kB / 0.5847 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.5175, allocations: 57.12 kB / 0.5848 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5175, allocations: 7.938 kB / 0.5848 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5175, allocations: 0 / 0.5848 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5175, allocations: 0 / 0.5848 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.5177, allocations: 162.1 kB / 0.5849 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5177, allocations: 0 / 0.5849 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.5177, allocations: 7.984 kB / 0.5849 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5177, allocations: 0 / 0.5849 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5177, allocations: 7.938 kB / 0.5849 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5178, allocations: 2.156 kB / 0.5849 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5178, allocations: 0 / 0.5849 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.5179, allocations: 143.5 kB / 0.5851 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.5179, allocations: 81.02 kB / 0.5851 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.518, allocations: 7.875 kB / 0.5852 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.518, allocations: 4 kB / 0.5852 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.518, allocations: 7.984 kB / 0.5852 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.518, allocations: 0 / 0.5852 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.5181, allocations: 83.22 kB / 0.5852 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5181, allocations: 0 / 0.5852 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000514/0.5186, allocations: 95.92 kB / 0.5853 GB, free: 14.93 MB / 462.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.0008171/0.5194, allocations: 0.8293 MB / 0.5861 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.5196, allocations: 27.92 kB / 0.5862 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5196, allocations: 0 / 0.5862 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.5196, allocations: 12.17 kB / 0.5862 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.5198, allocations: 8 kB / 0.5862 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.5204, allocations: 236.2 kB / 0.5864 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5207, allocations: 0.6775 MB / 0.5871 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.5207, allocations: 21.64 kB / 0.5871 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.5208, allocations: 15.44 kB / 0.5871 GB, free: 13.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5208, allocations: 0 / 0.5871 GB, free: 13.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.5357, allocations: 3.58 MB / 0.5906 GB, free: 9.531 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.5359, allocations: 189.3 kB / 0.5908 GB, free: 9.273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.366, allocations: 0 / 0.5908 GB, free: 9.273 MB / 462.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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches