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.00111/0.00111, allocations: 98.16 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001455, allocations: 192 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 4 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 63.57 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4099/0.5405, allocations: 140.3 MB / 0.6081 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.5419, allocations: 1.102 MB / 0.6092 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.542, allocations: 0 / 0.6092 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.5422, allocations: 34.31 kB / 0.6092 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.5422, allocations: 31.77 kB / 0.6092 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.5434, allocations: 352.8 kB / 0.6096 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.5435, allocations: 63.59 kB / 0.6096 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.5436, allocations: 7.984 kB / 0.6096 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.5437, allocations: 27.88 kB / 0.6097 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.5437, allocations: 27.91 kB / 0.6097 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.5437, allocations: 0 / 0.6097 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.5448, allocations: 462.9 kB / 0.6101 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.5448, allocations: 0 / 0.6101 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.5449, allocations: 41.64 kB / 0.6102 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.5452, allocations: 205.5 kB / 0.6104 GB, free: 6.535 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5452, allocations: 0 / 0.6104 GB, free: 6.535 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5452, allocations: 3.938 kB / 0.6104 GB, free: 6.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.5453, allocations: 0 / 0.6104 GB, free: 6.531 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.0005835/0.5458, allocations: 399.2 kB / 0.6108 GB, free: 6.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5459, allocations: 8.031 kB / 0.6108 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.5459, allocations: 11.95 kB / 0.6108 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5461, allocations: 175 kB / 0.6109 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5461, allocations: 0 / 0.6109 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.5461, allocations: 11.91 kB / 0.611 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5463, allocations: 69.61 kB / 0.611 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5463, allocations: 3.938 kB / 0.611 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5463, allocations: 0 / 0.611 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5463, allocations: 4 kB / 0.611 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.5464, allocations: 51.92 kB / 0.6111 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.5469, allocations: 377.9 kB / 0.6114 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.547, allocations: 62.5 kB / 0.6115 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.5471, allocations: 20.84 kB / 0.6115 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.5487, allocations: 1.225 MB / 0.6127 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5487, allocations: 34.56 kB / 0.6128 GB, free: 3.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5487, allocations: 0 / 0.6128 GB, free: 3.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.005987/0.5547, allocations: 0.6572 MB / 0.6134 GB, free: 3.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5548, allocations: 55.41 kB / 0.6134 GB, free: 2.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.5549, allocations: 101.9 kB / 0.6135 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.5549, allocations: 33.7 kB / 0.6136 GB, free: 2.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.5549, allocations: 92.25 kB / 0.6137 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.555, allocations: 43.36 kB / 0.6137 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.555, allocations: 4.562 kB / 0.6137 GB, free: 2.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5551, allocations: 314.8 kB / 0.614 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.5553, allocations: 79.94 kB / 0.6141 GB, free: 2.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5556, allocations: 117 kB / 0.6142 GB, free: 2.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.5558, allocations: 87.61 kB / 0.6143 GB, free: 2.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5558, allocations: 0 / 0.6143 GB, free: 2.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005274/0.5563, allocations: 249.3 kB / 0.6145 GB, free: 1.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5563, allocations: 4 kB / 0.6145 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5563, allocations: 3.953 kB / 0.6145 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5564, allocations: 12.05 kB / 0.6145 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.557, allocations: 51.89 kB / 0.6146 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.557, allocations: 0 / 0.6146 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.5574, allocations: 15.98 kB / 0.6146 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.5575, allocations: 15.98 kB / 0.6146 GB, free: 1.711 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.5576, allocations: 121.7 kB / 0.6147 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.5577, allocations: 11.89 kB / 0.6147 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.5584, allocations: 343.7 kB / 0.6151 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.5585, allocations: 3.984 kB / 0.6151 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5585, allocations: 7.938 kB / 0.6151 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5585, allocations: 7.953 kB / 0.6151 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5595, allocations: 0.7518 MB / 0.6158 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5595, allocations: 0 / 0.6158 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.5601, allocations: 47.89 kB / 0.6159 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5601, allocations: 0 / 0.6159 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.5601, allocations: 15.94 kB / 0.6159 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5601, allocations: 4 kB / 0.6159 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5601, allocations: 0 / 0.6159 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.5607, allocations: 349.5 kB / 0.6162 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.5608, allocations: 108.9 kB / 0.6163 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.5608, allocations: 0 / 0.6163 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.5613, allocations: 15.98 kB / 0.6163 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.5614, allocations: 11.94 kB / 0.6164 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.5614, allocations: 19.98 kB / 0.6164 GB, free: 15.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.5614, allocations: 83.27 kB / 0.6165 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5614, allocations: 0 / 0.6165 GB, free: 15.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.5619, allocations: 99.98 kB / 0.6165 GB, free: 15.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004234/0.5623, allocations: 219.4 kB / 0.6168 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.5628, allocations: 207.8 kB / 0.617 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5628, allocations: 0 / 0.617 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.5631, allocations: 115.9 kB / 0.6171 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5635, allocations: 32.06 kB / 0.6171 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.5641, allocations: 315.4 kB / 0.6174 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.5645, allocations: 0.7006 MB / 0.6181 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.565, allocations: 63.25 kB / 0.6181 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.5652, allocations: 35.39 kB / 0.6182 GB, free: 13.87 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5652, allocations: 0 / 0.6182 GB, free: 13.87 MB / 462.1 MB Notification: Performance of Templates: time 0.0102/0.5754, allocations: 5.922 MB / 0.624 GB, free: 7.949 MB / 462.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