Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2851/0.2851, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 72.72 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1347, allocations: 62.44 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4172/0.5519, allocations: 152.1 MB / 0.6167 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.5535, allocations: 1.228 MB / 0.6179 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.5536, allocations: 0 / 0.6179 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.5538, allocations: 41.8 kB / 0.6179 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.5539, allocations: 27.78 kB / 0.618 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.5552, allocations: 381.1 kB / 0.6183 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.5553, allocations: 67.61 kB / 0.6184 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.5553, allocations: 4 kB / 0.6184 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.5555, allocations: 35.84 kB / 0.6184 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.5555, allocations: 23.86 kB / 0.6185 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.5555, allocations: 0 / 0.6185 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5568, allocations: 0.5066 MB / 0.619 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.5568, allocations: 8 kB / 0.619 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.5569, allocations: 27.86 kB / 0.619 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007816/0.5576, allocations: 323.3 kB / 0.6193 GB, free: 8.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5577, allocations: 3.938 kB / 0.6193 GB, free: 8.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5577, allocations: 3.938 kB / 0.6193 GB, free: 8.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.5577, allocations: 0 / 0.6193 GB, free: 8.918 MB / 462.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.0006928/0.5584, allocations: 411.9 kB / 0.6197 GB, free: 8.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5584, allocations: 8.875 kB / 0.6197 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.5585, allocations: 34.75 kB / 0.6197 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.5585, allocations: 9.125 kB / 0.6198 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.5587, allocations: 166.9 kB / 0.6199 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5587, allocations: 8 kB / 0.6199 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.5588, allocations: 7.984 kB / 0.6199 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.559, allocations: 69.67 kB / 0.62 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.559, allocations: 3.938 kB / 0.62 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.559, allocations: 0 / 0.62 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.559, allocations: 4 kB / 0.62 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.5592, allocations: 43.97 kB / 0.62 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.5598, allocations: 389.8 kB / 0.6204 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.56, allocations: 70.47 kB / 0.6205 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.56, allocations: 16.86 kB / 0.6205 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.5618, allocations: 1.225 MB / 0.6217 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5619, allocations: 36.06 kB / 0.6217 GB, free: 6.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.5619, allocations: 0 / 0.6217 GB, free: 6.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007122/0.569, allocations: 0.6608 MB / 0.6224 GB, free: 5.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.5691, allocations: 51.41 kB / 0.6224 GB, free: 5.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.5692, allocations: 105.9 kB / 0.6225 GB, free: 5.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.5692, allocations: 25.7 kB / 0.6225 GB, free: 5.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.5693, allocations: 96.88 kB / 0.6226 GB, free: 5.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.5693, allocations: 43.3 kB / 0.6227 GB, free: 5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5695, allocations: 45.58 kB / 0.6227 GB, free: 4.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5696, allocations: 318.8 kB / 0.623 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5698, allocations: 79.94 kB / 0.6231 GB, free: 4.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.57, allocations: 107.4 kB / 0.6232 GB, free: 4.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.5705, allocations: 210.5 kB / 0.6234 GB, free: 4.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5705, allocations: 3.938 kB / 0.6234 GB, free: 4.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005729/0.5711, allocations: 245.5 kB / 0.6236 GB, free: 3.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5711, allocations: 8 kB / 0.6237 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5711, allocations: 0 / 0.6237 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5711, allocations: 3.938 kB / 0.6237 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.5718, allocations: 51.95 kB / 0.6237 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5718, allocations: 10.25 kB / 0.6237 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.5724, allocations: 12 kB / 0.6237 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.5724, allocations: 7.984 kB / 0.6237 GB, free: 3.887 MB / 462.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.0001204/0.5726, allocations: 133.7 kB / 0.6239 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.5726, allocations: 7.906 kB / 0.6239 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.5735, allocations: 341.3 kB / 0.6242 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5735, allocations: 4 kB / 0.6242 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5735, allocations: 3.938 kB / 0.6242 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5735, allocations: 0 / 0.6242 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5746, allocations: 0.748 MB / 0.6249 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5746, allocations: 0 / 0.6249 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.5753, allocations: 47.89 kB / 0.625 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5753, allocations: 4 kB / 0.625 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.5753, allocations: 8 kB / 0.625 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5753, allocations: 0 / 0.625 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5754, allocations: 7.922 kB / 0.625 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.576, allocations: 357.5 kB / 0.6253 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5761, allocations: 101 kB / 0.6254 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.5761, allocations: 0 / 0.6254 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.5767, allocations: 16 kB / 0.6255 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.5768, allocations: 19.91 kB / 0.6255 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.5768, allocations: 8 kB / 0.6255 GB, free: 1.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.5768, allocations: 83.77 kB / 0.6256 GB, free: 1.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5768, allocations: 0 / 0.6256 GB, free: 1.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.5773, allocations: 103.9 kB / 0.6257 GB, free: 1.773 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 (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.001269/0.5786, allocations: 1.012 MB / 0.6266 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.5791, allocations: 207.8 kB / 0.6268 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5791, allocations: 0 / 0.6268 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.5794, allocations: 115.9 kB / 0.627 GB, free: 432 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.5799, allocations: 35.84 kB / 0.627 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.5807, allocations: 364.7 kB / 0.6273 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.581, allocations: 0.6968 MB / 0.628 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.5815, allocations: 69.36 kB / 0.6281 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.5818, allocations: 47.38 kB / 0.6281 GB, free: 15.15 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5818, allocations: 0 / 0.6281 GB, free: 15.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.6015, allocations: 7.292 MB / 0.6352 GB, free: 7.938 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.6018, allocations: 188.7 kB / 0.6354 GB, free: 7.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.665, allocations: 0 / 0.6354 GB, free: 7.68 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches