Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",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.001242/0.001242, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001264/0.001264, allocations: 194 kB / 18.12 MB, free: 5.363 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.438/1.438, allocations: 222.9 MB / 241.8 MB, free: 13.82 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.2436/0.2436, allocations: 44.18 MB / 336.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.22 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1465, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4443/0.5908, allocations: 149.2 MB / 0.6034 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5925, allocations: 1.24 MB / 0.6046 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.5925, allocations: 4 kB / 0.6046 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.5927, allocations: 30.81 kB / 0.6046 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.5929, allocations: 23.84 kB / 0.6046 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.5941, allocations: 388.5 kB / 0.605 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.5943, allocations: 67.61 kB / 0.6051 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.5943, allocations: 4 kB / 0.6051 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.5944, allocations: 31.91 kB / 0.6051 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.5945, allocations: 27.86 kB / 0.6051 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.5945, allocations: 4 kB / 0.6051 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5957, allocations: 494.8 kB / 0.6056 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.5957, allocations: 11.97 kB / 0.6056 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.5958, allocations: 27.88 kB / 0.6057 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.5965, allocations: 319.2 kB / 0.606 GB, free: 9.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5965, allocations: 0 / 0.606 GB, free: 9.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5965, allocations: 0 / 0.606 GB, free: 9.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.5965, allocations: 0 / 0.606 GB, free: 9.246 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006279/0.5971, allocations: 408.1 kB / 0.6063 GB, free: 8.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5972, allocations: 12.03 kB / 0.6064 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.5972, allocations: 42.69 kB / 0.6064 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.5973, allocations: 5.125 kB / 0.6064 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5974, allocations: 174.8 kB / 0.6066 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5974, allocations: 4 kB / 0.6066 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.5975, allocations: 8 kB / 0.6066 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.5976, allocations: 65.67 kB / 0.6066 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5976, allocations: 0 / 0.6066 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5977, allocations: 7.938 kB / 0.6066 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5977, allocations: 4 kB / 0.6067 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.5978, allocations: 49.08 kB / 0.6067 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.5982, allocations: 393.7 kB / 0.6071 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.5984, allocations: 58.56 kB / 0.6071 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.5984, allocations: 24.84 kB / 0.6072 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.6003, allocations: 1.232 MB / 0.6084 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6003, allocations: 42.62 kB / 0.6084 GB, free: 6.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.6003, allocations: 3.938 kB / 0.6084 GB, free: 6.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007153/0.6075, allocations: 0.657 MB / 0.609 GB, free: 5.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.6075, allocations: 51.41 kB / 0.6091 GB, free: 5.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.6076, allocations: 105.8 kB / 0.6092 GB, free: 5.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.6077, allocations: 29.7 kB / 0.6092 GB, free: 5.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.6077, allocations: 84.33 kB / 0.6093 GB, free: 5.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.6078, allocations: 51.3 kB / 0.6094 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.6079, allocations: 45.58 kB / 0.6094 GB, free: 5.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.608, allocations: 326.8 kB / 0.6097 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6083, allocations: 79.89 kB / 0.6098 GB, free: 4.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.6085, allocations: 107.2 kB / 0.6099 GB, free: 4.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.609, allocations: 196.9 kB / 0.6101 GB, free: 4.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.609, allocations: 3.938 kB / 0.6101 GB, free: 4.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005852/0.6096, allocations: 245.6 kB / 0.6103 GB, free: 4.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6096, allocations: 8 kB / 0.6103 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6096, allocations: 0 / 0.6103 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6096, allocations: 0 / 0.6103 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.6103, allocations: 55.88 kB / 0.6104 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6103, allocations: 0 / 0.6104 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.6109, allocations: 16.06 kB / 0.6104 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.611, allocations: 19.97 kB / 0.6104 GB, free: 4.184 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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 0.0001285/0.6111, allocations: 121.7 kB / 0.6105 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.6112, allocations: 11.84 kB / 0.6105 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008703/0.612, allocations: 356.9 kB / 0.6109 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6121, allocations: 4 kB / 0.6109 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6121, allocations: 0 / 0.6109 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6121, allocations: 0 / 0.6109 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.6133, allocations: 0.7562 MB / 0.6116 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6133, allocations: 3.984 kB / 0.6116 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.614, allocations: 47.91 kB / 0.6117 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.614, allocations: 0 / 0.6117 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.614, allocations: 7.984 kB / 0.6117 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.614, allocations: 0 / 0.6117 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6141, allocations: 3.938 kB / 0.6117 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.6147, allocations: 354.1 kB / 0.612 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6149, allocations: 105 kB / 0.6121 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.6149, allocations: 4 kB / 0.6121 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.6155, allocations: 11.98 kB / 0.6121 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.6155, allocations: 19.92 kB / 0.6122 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.6156, allocations: 7.984 kB / 0.6122 GB, free: 2.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.6156, allocations: 83.28 kB / 0.6122 GB, free: 2.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6156, allocations: 0 / 0.6122 GB, free: 2.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.6161, allocations: 107.9 kB / 0.6123 GB, free: 2.07 MB / 446.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 (19): * Single equations (assignments): 19 * 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.001347/0.6175, allocations: 0.9977 MB / 0.6133 GB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000539/0.618, allocations: 211.8 kB / 0.6135 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6181, allocations: 0 / 0.6135 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.6183, allocations: 126.1 kB / 0.6136 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.6188, allocations: 33.25 kB / 0.6137 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.6197, allocations: 363.2 kB / 0.614 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.62, allocations: 0.6965 MB / 0.6147 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.6205, allocations: 63.73 kB / 0.6148 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.6207, allocations: 43.39 kB / 0.6148 GB, free: 15.47 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6207, allocations: 8 kB / 0.6148 GB, free: 15.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.64, allocations: 7.244 MB / 0.6219 GB, free: 8.281 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.6402, allocations: 193 kB / 0.6221 GB, free: 8.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.688, allocations: 0 / 0.6221 GB, free: 8.023 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches