Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.001058/0.001058, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001118/0.001118, allocations: 183.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3232, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1608/0.484, allocations: 151 MB / 0.6658 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.4858, allocations: 1.32 MB / 0.6671 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.4859, allocations: 0 / 0.6671 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.4862, allocations: 43.8 kB / 0.6671 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.4898, allocations: 1.029 MB / 0.6682 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.289e-06/0.4898, allocations: 0 / 0.6682 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.4899, allocations: 55.66 kB / 0.6682 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.49, allocations: 0 / 0.6682 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.49, allocations: 19.92 kB / 0.6682 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.4901, allocations: 19.92 kB / 0.6682 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.4901, allocations: 0 / 0.6682 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.4931, allocations: 1.798 MB / 0.67 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.4932, allocations: 15.92 kB / 0.67 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.4932, allocations: 11.94 kB / 0.67 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.495, allocations: 0.8849 MB / 0.6709 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.495, allocations: 4 kB / 0.6709 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.495, allocations: 0 / 0.6709 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.495, allocations: 0 / 0.6709 GB, free: 15.43 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007415/0.4958, allocations: 479.2 kB / 0.6714 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4958, allocations: 20.02 kB / 0.6714 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.4959, allocations: 34.75 kB / 0.6714 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4959, allocations: 8.844 kB / 0.6714 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.496, allocations: 171.3 kB / 0.6716 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.496, allocations: 3.984 kB / 0.6716 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.496, allocations: 8 kB / 0.6716 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4962, allocations: 65.67 kB / 0.6717 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4962, allocations: 0 / 0.6717 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4962, allocations: 8 kB / 0.6717 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.4963, allocations: 7.984 kB / 0.6717 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.4964, allocations: 59.89 kB / 0.6717 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.4968, allocations: 292.8 kB / 0.672 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.4969, allocations: 34.56 kB / 0.672 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.4969, allocations: 8.859 kB / 0.672 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.4972, allocations: 267.3 kB / 0.6723 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4972, allocations: 38.5 kB / 0.6723 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4972, allocations: 4 kB / 0.6723 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.4974, allocations: 53.69 kB / 0.6724 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4975, allocations: 51.41 kB / 0.6724 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.4976, allocations: 97.84 kB / 0.6725 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.4976, allocations: 33.7 kB / 0.6726 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.4977, allocations: 95.83 kB / 0.6727 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.4977, allocations: 15.75 kB / 0.6727 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.4977, allocations: 25.81 kB / 0.6727 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4978, allocations: 318.8 kB / 0.673 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.4979, allocations: 11.98 kB / 0.673 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.4979, allocations: 35.38 kB / 0.673 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/0.498, allocations: 47.42 kB / 0.6731 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.498, allocations: 4 kB / 0.6731 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.4981, allocations: 77.5 kB / 0.6732 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4982, allocations: 7.984 kB / 0.6732 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4982, allocations: 4 kB / 0.6732 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4982, allocations: 0 / 0.6732 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.4983, allocations: 12 kB / 0.6732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4983, allocations: 0 / 0.6732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.4983, allocations: 7.906 kB / 0.6732 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4983, allocations: 8.094 kB / 0.6732 GB, free: 12.75 MB / 0.5294 GB 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 (7): * Single equations (assignments): 7 * 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.049e-05/0.4984, allocations: 117.8 kB / 0.6733 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.4985, allocations: 7.938 kB / 0.6733 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.4986, allocations: 65.33 kB / 0.6734 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4986, allocations: 3.984 kB / 0.6734 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4986, allocations: 4 kB / 0.6734 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4987, allocations: 480 / 0.6734 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.4988, allocations: 157.7 kB / 0.6735 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4989, allocations: 7.938 kB / 0.6736 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.4989, allocations: 4 kB / 0.6736 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4989, allocations: 0 / 0.6736 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4989, allocations: 0 / 0.6736 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4989, allocations: 4 kB / 0.6736 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4989, allocations: 3.938 kB / 0.6736 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.4991, allocations: 163.5 kB / 0.6737 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.4991, allocations: 84.98 kB / 0.6738 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4991, allocations: 0 / 0.6738 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.4992, allocations: 3.938 kB / 0.6738 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.4992, allocations: 4 kB / 0.6738 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4992, allocations: 4 kB / 0.6738 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.4993, allocations: 83.27 kB / 0.6739 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4993, allocations: 0 / 0.6739 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006027/0.4999, allocations: 131.9 kB / 0.674 GB, free: 11.82 MB / 0.5294 GB 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 (4): * Single equations (assignments): 4 * 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.001329/0.5012, allocations: 0.8946 MB / 0.6749 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.5014, allocations: 35.91 kB / 0.6749 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5014, allocations: 4.188 kB / 0.6749 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.5014, allocations: 12 kB / 0.6749 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.5017, allocations: 10.34 kB / 0.675 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.5023, allocations: 229.2 kB / 0.6752 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5026, allocations: 0.6845 MB / 0.6758 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.42e-05/0.5027, allocations: 16.36 kB / 0.6759 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.5027, allocations: 19.42 kB / 0.6759 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5027, allocations: 0 / 0.6759 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.5227, allocations: 4.489 MB / 0.6803 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.142, allocations: 16.77 kB / 0.6803 GB, free: 5.398 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches