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.001662/0.001662, allocations: 104.2 kB / 15.98 MB, free: 6.336 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.001673/0.001673, allocations: 198.4 kB / 16.91 MB, free: 6.188 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.678/1.678, allocations: 205.1 MB / 222.8 MB, free: 4.938 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.3657/0.3657, allocations: 43.49 MB / 313.6 MB, free: 8.613 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.001439/0.00144, allocations: 79.11 kB / 382.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 57.79 MB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3241/0.4328, allocations: 150.1 MB / 0.5764 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4342, allocations: 1.217 MB / 0.5776 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.4343, allocations: 0 / 0.5776 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.4346, allocations: 35.86 kB / 0.5776 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.4367, allocations: 0.7887 MB / 0.5784 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.618e-06/0.4367, allocations: 0.6562 kB / 0.5784 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.4368, allocations: 47.78 kB / 0.5784 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.02e-05/0.4368, allocations: 0 / 0.5784 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.4368, allocations: 19.92 kB / 0.5784 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.4369, allocations: 31.91 kB / 0.5785 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.4369, allocations: 0 / 0.5785 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.4392, allocations: 1.696 MB / 0.5801 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.4393, allocations: 15.36 kB / 0.5801 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.4393, allocations: 15.88 kB / 0.5801 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.4405, allocations: 0.8146 MB / 0.5809 GB, free: 1.348 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4405, allocations: 0 / 0.5809 GB, free: 1.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4405, allocations: 0 / 0.5809 GB, free: 1.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.4405, allocations: 0 / 0.5809 GB, free: 1.348 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.000561/0.441, allocations: 465.9 kB / 0.5814 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4411, allocations: 11.89 kB / 0.5814 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.4411, allocations: 38.75 kB / 0.5814 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.4412, allocations: 5.703 kB / 0.5814 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.4413, allocations: 176 kB / 0.5816 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4413, allocations: 0 / 0.5816 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4413, allocations: 7.984 kB / 0.5816 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.4414, allocations: 65.67 kB / 0.5817 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4414, allocations: 4 kB / 0.5817 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.4414, allocations: 0 / 0.5817 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4415, allocations: 8 kB / 0.5817 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.4416, allocations: 51.97 kB / 0.5817 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.4419, allocations: 296.6 kB / 0.582 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.442, allocations: 30.56 kB / 0.582 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.442, allocations: 8.922 kB / 0.5821 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4421, allocations: 97.19 kB / 0.5821 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.4422, allocations: 34.5 kB / 0.5822 GB, free: 15.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4422, allocations: 4 kB / 0.5822 GB, free: 15.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.000144/0.4423, allocations: 53.61 kB / 0.5822 GB, free: 15.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4423, allocations: 55.34 kB / 0.5823 GB, free: 15.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.4424, allocations: 101.8 kB / 0.5824 GB, free: 15.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4424, allocations: 25.7 kB / 0.5824 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.4425, allocations: 107.9 kB / 0.5825 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.4425, allocations: 3.906 kB / 0.5825 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.4425, allocations: 25.7 kB / 0.5825 GB, free: 15.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.4426, allocations: 310.8 kB / 0.5828 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.4427, allocations: 8.75 kB / 0.5828 GB, free: 15.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.4427, allocations: 35.92 kB / 0.5829 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.4428, allocations: 47.38 kB / 0.5829 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4428, allocations: 0 / 0.5829 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.243e-05/0.4429, allocations: 69.61 kB / 0.583 GB, free: 14.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.4429, allocations: 4 kB / 0.583 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4429, allocations: 4.438 kB / 0.583 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4429, allocations: 4 kB / 0.583 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.443, allocations: 17.86 kB / 0.583 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.443, allocations: 0 / 0.583 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.443, allocations: 12.72 kB / 0.583 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.443, allocations: 4 kB / 0.583 GB, free: 14.93 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 6.59e-05/0.4431, allocations: 117.8 kB / 0.5831 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.4431, allocations: 0 / 0.5831 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.4433, allocations: 65.11 kB / 0.5832 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.4433, allocations: 0 / 0.5832 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4433, allocations: 4 kB / 0.5832 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.4433, allocations: 0 / 0.5832 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.4434, allocations: 157.7 kB / 0.5834 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4434, allocations: 0.625 kB / 0.5834 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.4435, allocations: 4 kB / 0.5834 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4435, allocations: 0 / 0.5834 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4435, allocations: 5.156 kB / 0.5834 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4435, allocations: 0.8125 kB / 0.5834 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4435, allocations: 3.938 kB / 0.5834 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.4436, allocations: 151.5 kB / 0.5835 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.4436, allocations: 81.02 kB / 0.5836 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4437, allocations: 4.453 kB / 0.5836 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.4437, allocations: 0 / 0.5836 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.4437, allocations: 7.938 kB / 0.5836 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4437, allocations: 3.125 kB / 0.5836 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.4438, allocations: 87.25 kB / 0.5837 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4438, allocations: 4 kB / 0.5837 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.4442, allocations: 95.92 kB / 0.5838 GB, free: 14.06 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.0007835/0.445, allocations: 0.829 MB / 0.5846 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.4451, allocations: 27.92 kB / 0.5846 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4451, allocations: 4.188 kB / 0.5846 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.4451, allocations: 8 kB / 0.5846 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.4453, allocations: 4 kB / 0.5846 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.4458, allocations: 224.6 kB / 0.5849 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4461, allocations: 0.6845 MB / 0.5855 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.4461, allocations: 22.73 kB / 0.5856 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.4462, allocations: 11.44 kB / 0.5856 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4462, allocations: 0 / 0.5856 GB, free: 12.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.5069, allocations: 3.686 MB / 0.5892 GB, free: 8.57 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/0.5072, allocations: 184.2 kB / 0.5893 GB, free: 8.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.472, allocations: 0 / 0.5893 GB, free: 8.32 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