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: 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001519/0.001519, allocations: 194 kB / 18.12 MB, free: 5.383 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.492/1.492, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2195/0.2195, allocations: 44.19 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.75 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4033/0.5463, allocations: 149.3 MB / 0.6033 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.548, allocations: 1.224 MB / 0.6045 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.5481, allocations: 0 / 0.6045 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.5483, allocations: 34.69 kB / 0.6045 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.5484, allocations: 27.77 kB / 0.6046 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.5497, allocations: 380.2 kB / 0.6049 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5498, allocations: 75.52 kB / 0.605 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.5499, allocations: 4 kB / 0.605 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.55, allocations: 31.86 kB / 0.605 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.55, allocations: 31.91 kB / 0.6051 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.55, allocations: 0 / 0.6051 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.5512, allocations: 490.8 kB / 0.6055 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.5513, allocations: 11.92 kB / 0.6055 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.5513, allocations: 19.94 kB / 0.6055 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.552, allocations: 327.2 kB / 0.6059 GB, free: 9.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.552, allocations: 4 kB / 0.6059 GB, free: 9.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.552, allocations: 0 / 0.6059 GB, free: 9.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.552, allocations: 0 / 0.6059 GB, free: 9.297 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.000635/0.5527, allocations: 411.9 kB / 0.6063 GB, free: 8.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5527, allocations: 8.031 kB / 0.6063 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.5528, allocations: 5.312 kB / 0.6063 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5529, allocations: 170.9 kB / 0.6064 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.5529, allocations: 8 kB / 0.6064 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5529, allocations: 4 kB / 0.6064 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5531, allocations: 77.66 kB / 0.6065 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5531, allocations: 0 / 0.6065 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.5531, allocations: 0 / 0.6065 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5531, allocations: 4 kB / 0.6065 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.5532, allocations: 43.97 kB / 0.6066 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.5537, allocations: 390.7 kB / 0.6069 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.5538, allocations: 66.55 kB / 0.607 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.5538, allocations: 16.86 kB / 0.607 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/0.5557, allocations: 1.244 MB / 0.6082 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.5557, allocations: 34.69 kB / 0.6083 GB, free: 6.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.5557, allocations: 0 / 0.6083 GB, free: 6.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.00732/0.5631, allocations: 0.661 MB / 0.6089 GB, free: 5.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5631, allocations: 55.39 kB / 0.609 GB, free: 5.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.5632, allocations: 101.9 kB / 0.6091 GB, free: 5.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.5633, allocations: 29.7 kB / 0.6091 GB, free: 5.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.5633, allocations: 92.81 kB / 0.6092 GB, free: 5.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.5634, allocations: 51.3 kB / 0.6092 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5635, allocations: 41.67 kB / 0.6093 GB, free: 5.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5636, allocations: 322.8 kB / 0.6096 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.5638, allocations: 83.81 kB / 0.6097 GB, free: 4.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.564, allocations: 106.5 kB / 0.6098 GB, free: 4.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.5645, allocations: 198.5 kB / 0.6099 GB, free: 4.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5646, allocations: 0 / 0.6099 GB, free: 4.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006054/0.5652, allocations: 253.8 kB / 0.6102 GB, free: 4.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.5652, allocations: 12.06 kB / 0.6102 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5652, allocations: 3.938 kB / 0.6102 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5652, allocations: 0 / 0.6102 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.5659, allocations: 47.95 kB / 0.6102 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.566, allocations: 0 / 0.6102 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.5665, allocations: 19.98 kB / 0.6103 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.5666, allocations: 11.98 kB / 0.6103 GB, free: 4.281 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.0001304/0.5667, allocations: 121.7 kB / 0.6104 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.5668, allocations: 11.91 kB / 0.6104 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.5676, allocations: 348.1 kB / 0.6107 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5676, allocations: 8 kB / 0.6107 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5677, allocations: 0 / 0.6107 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5677, allocations: 0 / 0.6107 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5688, allocations: 0.7523 MB / 0.6115 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5688, allocations: 4 kB / 0.6115 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.5695, allocations: 43.91 kB / 0.6115 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5695, allocations: 3.984 kB / 0.6115 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.5695, allocations: 12 kB / 0.6115 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5695, allocations: 0 / 0.6115 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5695, allocations: 0 / 0.6115 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.5701, allocations: 351.2 kB / 0.6119 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5703, allocations: 101 kB / 0.612 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.5703, allocations: 7.984 kB / 0.612 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.5708, allocations: 16.88 kB / 0.612 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.5709, allocations: 19.91 kB / 0.612 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.571, allocations: 7.938 kB / 0.612 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.571, allocations: 87.27 kB / 0.6121 GB, free: 2.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.571, allocations: 0 / 0.6121 GB, free: 2.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.5715, allocations: 99.92 kB / 0.6122 GB, free: 2.172 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.0005241/0.572, allocations: 229.1 kB / 0.6124 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.5726, allocations: 210.7 kB / 0.6126 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5726, allocations: 0 / 0.6126 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.5728, allocations: 116 kB / 0.6127 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.5733, allocations: 31.97 kB / 0.6128 GB, free: 1.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.574, allocations: 294.2 kB / 0.613 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5743, allocations: 0.6965 MB / 0.6137 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005028/0.5749, allocations: 61.61 kB / 0.6138 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5751, allocations: 43.38 kB / 0.6138 GB, free: 464 kB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5751, allocations: 0 / 0.6138 GB, free: 464 kB / 446.1 MB Notification: Performance of Templates: time 0.01271/0.5878, allocations: 5.973 MB / 0.6197 GB, free: 10.48 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches