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.001277/0.001277, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3622, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1784/0.5407, allocations: 154.4 MB / 0.6817 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.5424, allocations: 1.191 MB / 0.6829 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.5424, allocations: 0 / 0.6829 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.5427, allocations: 43.8 kB / 0.6829 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.5428, allocations: 27.72 kB / 0.683 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.5443, allocations: 437.9 kB / 0.6834 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.5445, allocations: 71.59 kB / 0.6834 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.5445, allocations: 4 kB / 0.6835 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.5446, allocations: 39.84 kB / 0.6835 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.5447, allocations: 27.86 kB / 0.6835 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.5447, allocations: 4 kB / 0.6835 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.5459, allocations: 0.4986 MB / 0.684 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.546, allocations: 0 / 0.684 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.546, allocations: 35.84 kB / 0.684 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.5467, allocations: 311.8 kB / 0.6843 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5467, allocations: 0 / 0.6843 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5467, allocations: 0 / 0.6843 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5467, allocations: 0 / 0.6843 GB, free: 4.094 MB / 0.5294 GB 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.000676/0.5474, allocations: 414.8 kB / 0.6847 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5474, allocations: 8.031 kB / 0.6847 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.5475, allocations: 8.938 kB / 0.6848 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.5476, allocations: 175 kB / 0.6849 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5477, allocations: 0 / 0.6849 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.5477, allocations: 11.94 kB / 0.6849 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5479, allocations: 77.17 kB / 0.685 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5479, allocations: 4 kB / 0.685 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5479, allocations: 0 / 0.685 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5479, allocations: 0 / 0.685 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.548, allocations: 55.94 kB / 0.6851 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.5485, allocations: 381.8 kB / 0.6854 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.5487, allocations: 66.5 kB / 0.6855 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.5487, allocations: 20.84 kB / 0.6855 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.5504, allocations: 1.217 MB / 0.6867 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5505, allocations: 42.48 kB / 0.6867 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5505, allocations: 0 / 0.6867 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.00648/0.5569, allocations: 0.6534 MB / 0.6874 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.557, allocations: 51.41 kB / 0.6874 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.5571, allocations: 109.8 kB / 0.6875 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.5571, allocations: 25.7 kB / 0.6876 GB, free: 356 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.5572, allocations: 92.31 kB / 0.6876 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.5573, allocations: 51.58 kB / 0.6877 GB, free: 208 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.5574, allocations: 45.67 kB / 0.6877 GB, free: 156 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5575, allocations: 314.8 kB / 0.688 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5577, allocations: 79.95 kB / 0.6881 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.558, allocations: 116.2 kB / 0.6882 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.5584, allocations: 206.5 kB / 0.6884 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5584, allocations: 0 / 0.6884 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005796/0.559, allocations: 241.5 kB / 0.6886 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.559, allocations: 8 kB / 0.6887 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5591, allocations: 7.984 kB / 0.6887 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5591, allocations: 0.5625 kB / 0.6887 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.5598, allocations: 59.88 kB / 0.6887 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5598, allocations: 0 / 0.6887 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.5603, allocations: 12 kB / 0.6887 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.5603, allocations: 20.16 kB / 0.6888 GB, free: 15.08 MB / 0.545 GB 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.0001362/0.5605, allocations: 125.7 kB / 0.6889 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.5606, allocations: 15.89 kB / 0.6889 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.5614, allocations: 339.6 kB / 0.6892 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5614, allocations: 0 / 0.6892 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5614, allocations: 4 kB / 0.6892 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5614, allocations: 7.984 kB / 0.6892 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.5625, allocations: 0.7555 MB / 0.69 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5625, allocations: 0 / 0.69 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.5631, allocations: 43.95 kB / 0.69 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5631, allocations: 0 / 0.69 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.5632, allocations: 11.98 kB / 0.69 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5632, allocations: 0 / 0.69 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5632, allocations: 7.938 kB / 0.69 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.5638, allocations: 362 kB / 0.6904 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5639, allocations: 101 kB / 0.6905 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.564, allocations: 4 kB / 0.6905 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.5645, allocations: 8 kB / 0.6905 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5646, allocations: 23.89 kB / 0.6905 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5646, allocations: 15.98 kB / 0.6905 GB, free: 13.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.5647, allocations: 79.28 kB / 0.6906 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5647, allocations: 4 kB / 0.6906 GB, free: 13.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004457/0.5651, allocations: 107.7 kB / 0.6907 GB, free: 12.95 MB / 0.545 GB 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.0004373/0.5656, allocations: 218.8 kB / 0.6909 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.5661, allocations: 210.3 kB / 0.6911 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5661, allocations: 0 / 0.6911 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.5664, allocations: 119.8 kB / 0.6912 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5668, allocations: 24.28 kB / 0.6912 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.5674, allocations: 260.1 kB / 0.6915 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5677, allocations: 0.6965 MB / 0.6922 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.5681, allocations: 68.75 kB / 0.6922 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5683, allocations: 35.38 kB / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5683, allocations: 0 / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of Templates: time 0.0116/0.5799, allocations: 6.231 MB / 0.6984 GB, free: 5.047 MB / 0.545 GB 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