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.0009523/0.0009523, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001033/0.001033, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.352/1.352, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.1868/0.1868, allocations: 44.25 MB / 337.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 12.28 kB / 410.4 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 61.92 MB / 472.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.364/0.4645, allocations: 147.3 MB / 0.6052 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4659, allocations: 1.217 MB / 0.6063 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.466, allocations: 0 / 0.6063 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.4661, allocations: 39.73 kB / 0.6064 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.4662, allocations: 23.78 kB / 0.6064 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.4673, allocations: 385.5 kB / 0.6068 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.4674, allocations: 63.61 kB / 0.6068 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.4675, allocations: 4 kB / 0.6068 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.4676, allocations: 35.84 kB / 0.6069 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.4677, allocations: 27.92 kB / 0.6069 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.4677, allocations: 4 kB / 0.6069 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4687, allocations: 490.8 kB / 0.6074 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.4688, allocations: 15.92 kB / 0.6074 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.4688, allocations: 49.58 kB / 0.6074 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.4694, allocations: 315.3 kB / 0.6077 GB, free: 12.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4694, allocations: 7.938 kB / 0.6077 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4694, allocations: 0 / 0.6077 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.4694, allocations: 0 / 0.6077 GB, free: 12.49 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.0004987/0.4699, allocations: 396.2 kB / 0.6081 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4699, allocations: 8.031 kB / 0.6081 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.47, allocations: 42.67 kB / 0.6082 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.47, allocations: 5.125 kB / 0.6082 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.4701, allocations: 167 kB / 0.6083 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4701, allocations: 0 / 0.6083 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4702, allocations: 11.91 kB / 0.6083 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.4703, allocations: 69.66 kB / 0.6084 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4703, allocations: 4 kB / 0.6084 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4703, allocations: 11.98 kB / 0.6084 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4703, allocations: 0 / 0.6084 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.4704, allocations: 47.91 kB / 0.6085 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.4709, allocations: 385.8 kB / 0.6088 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.471, allocations: 70.48 kB / 0.6089 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.471, allocations: 28.98 kB / 0.6089 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.4728, allocations: 1.236 MB / 0.6101 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4729, allocations: 38.5 kB / 0.6102 GB, free: 9.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.4729, allocations: 3.938 kB / 0.6102 GB, free: 9.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.00695/0.4799, allocations: 0.6505 MB / 0.6108 GB, free: 8.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4799, allocations: 55.34 kB / 0.6109 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.48, allocations: 106.7 kB / 0.611 GB, free: 8.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.48, allocations: 29.7 kB / 0.611 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.4801, allocations: 88.33 kB / 0.6111 GB, free: 8.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.4801, allocations: 51.3 kB / 0.6111 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.4802, allocations: 21.7 kB / 0.6111 GB, free: 8.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.4803, allocations: 310.8 kB / 0.6114 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4805, allocations: 83.94 kB / 0.6115 GB, free: 8.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4807, allocations: 107.3 kB / 0.6116 GB, free: 8.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.4811, allocations: 205.7 kB / 0.6118 GB, free: 7.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4811, allocations: 3.938 kB / 0.6118 GB, free: 7.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000545/0.4817, allocations: 245.5 kB / 0.6121 GB, free: 7.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4817, allocations: 10.5 kB / 0.6121 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4817, allocations: 3.984 kB / 0.6121 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4817, allocations: 4.062 kB / 0.6121 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.4824, allocations: 51.95 kB / 0.6121 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4824, allocations: 0 / 0.6121 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.483, allocations: 16.67 kB / 0.6121 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.483, allocations: 11.98 kB / 0.6122 GB, free: 7.465 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.0001181/0.4832, allocations: 125.7 kB / 0.6123 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.4832, allocations: 7.906 kB / 0.6123 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.484, allocations: 354.4 kB / 0.6126 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.484, allocations: 0 / 0.6126 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.484, allocations: 0 / 0.6126 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.484, allocations: 4 kB / 0.6126 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4851, allocations: 0.7562 MB / 0.6134 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4851, allocations: 3.938 kB / 0.6134 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.4857, allocations: 47.89 kB / 0.6134 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4857, allocations: 0 / 0.6134 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4858, allocations: 11.98 kB / 0.6134 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4858, allocations: 0 / 0.6134 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4858, allocations: 7.938 kB / 0.6134 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.4863, allocations: 353.7 kB / 0.6138 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.4864, allocations: 101 kB / 0.6139 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.4865, allocations: 8.875 kB / 0.6139 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.487, allocations: 7.984 kB / 0.6139 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.4871, allocations: 27.84 kB / 0.6139 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4871, allocations: 8 kB / 0.6139 GB, free: 5.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.4872, allocations: 87.52 kB / 0.614 GB, free: 5.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4872, allocations: 3.938 kB / 0.614 GB, free: 5.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.4877, allocations: 103.9 kB / 0.6141 GB, free: 5.336 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.001285/0.489, allocations: 1.001 MB / 0.6151 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.4895, allocations: 211.9 kB / 0.6153 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4895, allocations: 7.938 kB / 0.6153 GB, free: 4.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4897, allocations: 115.9 kB / 0.6154 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4902, allocations: 31.91 kB / 0.6154 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.4911, allocations: 367.1 kB / 0.6158 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4914, allocations: 0.6965 MB / 0.6165 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004903/0.4919, allocations: 72.73 kB / 0.6165 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4921, allocations: 47.38 kB / 0.6166 GB, free: 2.711 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4921, allocations: 0 / 0.6166 GB, free: 2.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.5101, allocations: 7.173 MB / 0.6236 GB, free: 11.63 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.5103, allocations: 196 kB / 0.6238 GB, free: 11.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.473, allocations: 64 / 0.6238 GB, free: 11.37 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