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: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 118 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.00159/0.00159, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 77 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1467, allocations: 62.43 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4548/0.6015, allocations: 152.3 MB / 0.6169 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.6031, allocations: 1.184 MB / 0.6181 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.6031, allocations: 0 / 0.6181 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.6033, allocations: 38.36 kB / 0.6181 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.6034, allocations: 23.78 kB / 0.6181 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.6045, allocations: 403.2 kB / 0.6185 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.6046, allocations: 67.61 kB / 0.6186 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.6047, allocations: 4 kB / 0.6186 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.6048, allocations: 39.84 kB / 0.6186 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.6049, allocations: 23.86 kB / 0.6187 GB, free: 9.637 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.6049, allocations: 4 kB / 0.6187 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.6059, allocations: 0.5027 MB / 0.6192 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.6059, allocations: 15.97 kB / 0.6192 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.606, allocations: 23.88 kB / 0.6192 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.6064, allocations: 323.2 kB / 0.6195 GB, free: 8.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6065, allocations: 0 / 0.6195 GB, free: 8.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6065, allocations: 0 / 0.6195 GB, free: 8.773 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.6065, allocations: 0 / 0.6195 GB, free: 8.773 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.0005772/0.6071, allocations: 403.3 kB / 0.6199 GB, free: 8.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6071, allocations: 15.97 kB / 0.6199 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.6072, allocations: 10.19 kB / 0.6199 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.6073, allocations: 166.9 kB / 0.6201 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6073, allocations: 11.98 kB / 0.6201 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6073, allocations: 4 kB / 0.6201 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.6075, allocations: 69.61 kB / 0.6201 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6075, allocations: 4 kB / 0.6202 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6075, allocations: 0 / 0.6202 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6075, allocations: 0 / 0.6202 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.6076, allocations: 51.95 kB / 0.6202 GB, free: 7.961 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.6081, allocations: 389.7 kB / 0.6206 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.6082, allocations: 66.48 kB / 0.6206 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.6083, allocations: 24.48 kB / 0.6207 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.6101, allocations: 1.224 MB / 0.6219 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.6101, allocations: 30.56 kB / 0.6219 GB, free: 5.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.6101, allocations: 0 / 0.6219 GB, free: 5.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007397/0.6175, allocations: 0.6689 MB / 0.6225 GB, free: 5.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6176, allocations: 51.41 kB / 0.6226 GB, free: 5.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.6177, allocations: 105.9 kB / 0.6227 GB, free: 5.062 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.6177, allocations: 25.7 kB / 0.6227 GB, free: 5.031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.6178, allocations: 96.3 kB / 0.6228 GB, free: 4.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.6179, allocations: 47.3 kB / 0.6228 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.618, allocations: 45.58 kB / 0.6229 GB, free: 4.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6181, allocations: 318.8 kB / 0.6232 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6183, allocations: 79.94 kB / 0.6233 GB, free: 4.438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6186, allocations: 106.5 kB / 0.6234 GB, free: 4.324 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.619, allocations: 202.5 kB / 0.6236 GB, free: 4.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.619, allocations: 0 / 0.6236 GB, free: 4.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000568/0.6196, allocations: 249.4 kB / 0.6238 GB, free: 3.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6196, allocations: 8 kB / 0.6238 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6196, allocations: 3.938 kB / 0.6238 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6196, allocations: 0 / 0.6238 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.6204, allocations: 55.88 kB / 0.6239 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6204, allocations: 0 / 0.6239 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.621, allocations: 16 kB / 0.6239 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.621, allocations: 12.55 kB / 0.6239 GB, free: 3.773 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.0001173/0.6212, allocations: 125.8 kB / 0.624 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.6212, allocations: 11.91 kB / 0.624 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.6221, allocations: 346.6 kB / 0.6244 GB, free: 3.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6221, allocations: 4 kB / 0.6244 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6221, allocations: 0 / 0.6244 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6221, allocations: 3.984 kB / 0.6244 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6233, allocations: 0.7467 MB / 0.6251 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6233, allocations: 0 / 0.6251 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.624, allocations: 51.2 kB / 0.6251 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.624, allocations: 4 kB / 0.6251 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.624, allocations: 8 kB / 0.6252 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.624, allocations: 3.984 kB / 0.6252 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.624, allocations: 0 / 0.6252 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.6246, allocations: 355.2 kB / 0.6255 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6247, allocations: 101 kB / 0.6256 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.6248, allocations: 4 kB / 0.6256 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.6254, allocations: 16 kB / 0.6256 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.6255, allocations: 23.84 kB / 0.6256 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.6255, allocations: 7.984 kB / 0.6256 GB, free: 1.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.6255, allocations: 83.28 kB / 0.6257 GB, free: 1.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6255, allocations: 0 / 0.6257 GB, free: 1.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.626, allocations: 103.9 kB / 0.6258 GB, free: 1.66 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.0004438/0.6264, allocations: 230.9 kB / 0.626 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.627, allocations: 203.8 kB / 0.6262 GB, free: 1.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.627, allocations: 8 kB / 0.6262 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.6272, allocations: 116 kB / 0.6264 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.6277, allocations: 31.48 kB / 0.6264 GB, free: 1.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.6283, allocations: 303.5 kB / 0.6267 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6286, allocations: 0.6964 MB / 0.6274 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000514/0.6291, allocations: 75.42 kB / 0.6274 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.6293, allocations: 35.39 kB / 0.6275 GB, free: 15.93 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6293, allocations: 0 / 0.6275 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Templates: time 0.009667/0.639, allocations: 6.199 MB / 0.6335 GB, free: 9.734 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches