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.001077/0.001077, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1007, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3276/0.4284, allocations: 154.4 MB / 0.6209 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4298, allocations: 1.197 MB / 0.6221 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.4298, allocations: 4 kB / 0.6221 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.43, allocations: 37.8 kB / 0.6221 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.4301, allocations: 27.77 kB / 0.6221 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.4312, allocations: 441.2 kB / 0.6226 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.4313, allocations: 71.53 kB / 0.6226 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.4313, allocations: 9.812 kB / 0.6226 GB, free: 6.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.4314, allocations: 27.92 kB / 0.6227 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.4314, allocations: 23.92 kB / 0.6227 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4315, allocations: 4 kB / 0.6227 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008958/0.4324, allocations: 0.5065 MB / 0.6232 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.4324, allocations: 15.94 kB / 0.6232 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.4324, allocations: 23.88 kB / 0.6232 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.4329, allocations: 307.2 kB / 0.6235 GB, free: 5.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4329, allocations: 0 / 0.6235 GB, free: 5.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4329, allocations: 3.938 kB / 0.6235 GB, free: 5.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.4329, allocations: 0 / 0.6235 GB, free: 5.625 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.0005525/0.4335, allocations: 411.3 kB / 0.6239 GB, free: 5.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4335, allocations: 12.03 kB / 0.6239 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4336, allocations: 5.312 kB / 0.6239 GB, free: 5.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4337, allocations: 170.9 kB / 0.6241 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4337, allocations: 4 kB / 0.6241 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4338, allocations: 8 kB / 0.6241 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4339, allocations: 69.66 kB / 0.6242 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4339, allocations: 0 / 0.6242 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.434, allocations: 7.984 kB / 0.6242 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.434, allocations: 0 / 0.6242 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-05/0.4341, allocations: 52.84 kB / 0.6242 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.4345, allocations: 381.8 kB / 0.6246 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4346, allocations: 71.14 kB / 0.6247 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.4347, allocations: 16.86 kB / 0.6247 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.4364, allocations: 1.229 MB / 0.6259 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4364, allocations: 34.5 kB / 0.6259 GB, free: 2.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.4364, allocations: 0 / 0.6259 GB, free: 2.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.006441/0.4429, allocations: 0.6572 MB / 0.6266 GB, free: 2.094 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.4429, allocations: 59.33 kB / 0.6266 GB, free: 2.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.443, allocations: 104.2 kB / 0.6267 GB, free: 1.914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.443, allocations: 33.7 kB / 0.6267 GB, free: 1.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.4431, allocations: 88.31 kB / 0.6268 GB, free: 1.785 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.4431, allocations: 51.3 kB / 0.6269 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4432, allocations: 45.58 kB / 0.6269 GB, free: 1.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4433, allocations: 318.8 kB / 0.6272 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4435, allocations: 79.94 kB / 0.6273 GB, free: 1.285 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4437, allocations: 107.2 kB / 0.6274 GB, free: 1.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.4441, allocations: 202 kB / 0.6276 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4442, allocations: 0 / 0.6276 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005145/0.4447, allocations: 249.4 kB / 0.6278 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4447, allocations: 8 kB / 0.6278 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4447, allocations: 4.062 kB / 0.6278 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4447, allocations: 0 / 0.6278 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.4453, allocations: 47.95 kB / 0.6279 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.4454, allocations: 0 / 0.6279 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.4458, allocations: 19.98 kB / 0.6279 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.4459, allocations: 11.98 kB / 0.6279 GB, free: 0.6289 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.0001081/0.446, allocations: 121.7 kB / 0.628 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.4461, allocations: 7.906 kB / 0.628 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.4468, allocations: 354 kB / 0.6284 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4468, allocations: 4 kB / 0.6284 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4468, allocations: 0.75 kB / 0.6284 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4468, allocations: 0 / 0.6284 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4479, allocations: 0.7479 MB / 0.6291 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4479, allocations: 0 / 0.6291 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.4485, allocations: 47.91 kB / 0.6292 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4485, allocations: 4 kB / 0.6292 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4485, allocations: 5.172 kB / 0.6292 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.4485, allocations: 4 kB / 0.6292 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4485, allocations: 3.938 kB / 0.6292 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.4491, allocations: 355.2 kB / 0.6295 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4492, allocations: 109 kB / 0.6296 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4492, allocations: 7.938 kB / 0.6296 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.4497, allocations: 11.98 kB / 0.6296 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.4498, allocations: 15.92 kB / 0.6297 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.4498, allocations: 12.86 kB / 0.6297 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.4499, allocations: 87.27 kB / 0.6298 GB, free: 14.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4499, allocations: 0 / 0.6298 GB, free: 14.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.4503, allocations: 103.9 kB / 0.6299 GB, free: 14.51 MB / 478.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.0003502/0.4506, allocations: 211 kB / 0.6301 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.4511, allocations: 214.2 kB / 0.6303 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4511, allocations: 0 / 0.6303 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.4514, allocations: 119.9 kB / 0.6304 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4517, allocations: 29.98 kB / 0.6304 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.4523, allocations: 261.2 kB / 0.6306 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.4525, allocations: 0.6965 MB / 0.6313 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.4528, allocations: 68.73 kB / 0.6314 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.453, allocations: 35.39 kB / 0.6314 GB, free: 12.84 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/0.453, allocations: 0 / 0.6314 GB, free: 12.84 MB / 478.1 MB Notification: Performance of Templates: time 0.00909/0.4621, allocations: 6.207 MB / 0.6375 GB, free: 6.633 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 -s gbode -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/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