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.001497/0.001497, allocations: 108 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 79.03 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1284, allocations: 62.43 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4528/0.5813, allocations: 152.3 MB / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.5829, allocations: 1.187 MB / 0.6182 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.583, allocations: 4 kB / 0.6182 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.5832, allocations: 31.88 kB / 0.6182 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.5833, allocations: 23.77 kB / 0.6182 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.5847, allocations: 411.1 kB / 0.6186 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.5848, allocations: 71.53 kB / 0.6187 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.5849, allocations: 4 kB / 0.6187 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.585, allocations: 31.86 kB / 0.6187 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.5851, allocations: 27.91 kB / 0.6188 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.5851, allocations: 0 / 0.6188 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.5862, allocations: 0.5027 MB / 0.6193 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.5862, allocations: 11.98 kB / 0.6193 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.5863, allocations: 31.86 kB / 0.6193 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.5868, allocations: 319.2 kB / 0.6196 GB, free: 8.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5869, allocations: 0 / 0.6196 GB, free: 8.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5869, allocations: 0 / 0.6196 GB, free: 8.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.5869, allocations: 4 kB / 0.6196 GB, free: 8.676 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.0006974/0.5876, allocations: 407.9 kB / 0.62 GB, free: 8.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5876, allocations: 12.03 kB / 0.62 GB, free: 8.219 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.5877, allocations: 38.73 kB / 0.62 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.5877, allocations: 5.125 kB / 0.6201 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5878, allocations: 174.9 kB / 0.6202 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5879, allocations: 4 kB / 0.6202 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.5879, allocations: 4 kB / 0.6202 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.5881, allocations: 65.67 kB / 0.6203 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5881, allocations: 4 kB / 0.6203 GB, free: 7.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5881, allocations: 4 kB / 0.6203 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5881, allocations: 3.984 kB / 0.6203 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.5882, allocations: 59.09 kB / 0.6204 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.5887, allocations: 381.7 kB / 0.6207 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.5889, allocations: 54.56 kB / 0.6208 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.5889, allocations: 24.84 kB / 0.6208 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/0.5908, allocations: 1.225 MB / 0.622 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5909, allocations: 42.62 kB / 0.622 GB, free: 5.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 3.667e-06/0.5909, allocations: 4 kB / 0.622 GB, free: 5.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007527/0.5984, allocations: 0.6458 MB / 0.6227 GB, free: 5.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.5985, allocations: 59.41 kB / 0.6227 GB, free: 5.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.5987, allocations: 103.2 kB / 0.6228 GB, free: 4.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.5987, allocations: 33.64 kB / 0.6229 GB, free: 4.891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.5988, allocations: 84.33 kB / 0.6229 GB, free: 4.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.5989, allocations: 55.28 kB / 0.623 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.599, allocations: 45.58 kB / 0.623 GB, free: 4.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5992, allocations: 318.8 kB / 0.6233 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.5994, allocations: 87.88 kB / 0.6234 GB, free: 4.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.5997, allocations: 113.1 kB / 0.6235 GB, free: 4.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.6001, allocations: 186.5 kB / 0.6237 GB, free: 3.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6001, allocations: 7.938 kB / 0.6237 GB, free: 3.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005751/0.6007, allocations: 249.6 kB / 0.624 GB, free: 3.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6008, allocations: 6.656 kB / 0.624 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6008, allocations: 4.938 kB / 0.624 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6008, allocations: 0 / 0.624 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.6015, allocations: 55.88 kB / 0.624 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6015, allocations: 0 / 0.624 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.6021, allocations: 23.92 kB / 0.624 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.6022, allocations: 11.98 kB / 0.6241 GB, free: 3.633 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.0001497/0.6023, allocations: 125.8 kB / 0.6242 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.6024, allocations: 7.906 kB / 0.6242 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.6033, allocations: 353.8 kB / 0.6245 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6033, allocations: 0 / 0.6245 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6033, allocations: 4 kB / 0.6245 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6033, allocations: 0 / 0.6245 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6045, allocations: 0.744 MB / 0.6252 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6045, allocations: 4 kB / 0.6252 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.6052, allocations: 47.91 kB / 0.6253 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.6052, allocations: 7.984 kB / 0.6253 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.6052, allocations: 7.984 kB / 0.6253 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6052, allocations: 0 / 0.6253 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6052, allocations: 7.938 kB / 0.6253 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.6059, allocations: 345.5 kB / 0.6256 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.606, allocations: 105 kB / 0.6257 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.606, allocations: 8 kB / 0.6258 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.6066, allocations: 15.98 kB / 0.6258 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.6067, allocations: 11.92 kB / 0.6258 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.6067, allocations: 11.98 kB / 0.6258 GB, free: 1.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.31e-05/0.6068, allocations: 83.28 kB / 0.6259 GB, free: 1.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6068, allocations: 0 / 0.6259 GB, free: 1.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.6073, allocations: 107.9 kB / 0.626 GB, free: 1.52 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.001307/0.6086, allocations: 1.001 MB / 0.627 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.6091, allocations: 218.1 kB / 0.6272 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6091, allocations: 0 / 0.6272 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.6094, allocations: 119.9 kB / 0.6273 GB, free: 172 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.6099, allocations: 40.52 kB / 0.6273 GB, free: 132 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.6108, allocations: 366.7 kB / 0.6277 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.6111, allocations: 0.6965 MB / 0.6283 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.6116, allocations: 65.61 kB / 0.6284 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.6118, allocations: 47.39 kB / 0.6285 GB, free: 14.9 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6118, allocations: 0 / 0.6285 GB, free: 14.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.6311, allocations: 7.491 MB / 0.6358 GB, free: 7.496 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.6314, allocations: 195.8 kB / 0.636 GB, free: 7.234 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.65, allocations: 3.938 kB / 0.636 GB, free: 7.23 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