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.001275/0.001276, allocations: 111 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 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.2396/0.2396, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3833, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1912/0.5745, allocations: 154.4 MB / 0.6824 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.5762, allocations: 1.199 MB / 0.6836 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.5763, allocations: 4 kB / 0.6836 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.5765, allocations: 31.81 kB / 0.6836 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.5767, allocations: 27.77 kB / 0.6836 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.5782, allocations: 445.5 kB / 0.6841 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.5783, allocations: 75.58 kB / 0.6841 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.5784, allocations: 0 / 0.6841 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.5785, allocations: 35.86 kB / 0.6842 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.5785, allocations: 35.84 kB / 0.6842 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5786, allocations: 0 / 0.6842 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.5797, allocations: 0.4948 MB / 0.6847 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.5797, allocations: 4 kB / 0.6847 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.5798, allocations: 31.86 kB / 0.6847 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.5804, allocations: 309.3 kB / 0.685 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5804, allocations: 4 kB / 0.685 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5804, allocations: 0 / 0.685 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5804, allocations: 0 / 0.685 GB, free: 4.105 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.0005898/0.581, allocations: 407.3 kB / 0.6854 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5811, allocations: 12.03 kB / 0.6854 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.5811, allocations: 8.844 kB / 0.6854 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5812, allocations: 170.9 kB / 0.6856 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5813, allocations: 7.938 kB / 0.6856 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.5813, allocations: 8 kB / 0.6856 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5814, allocations: 65.67 kB / 0.6857 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5815, allocations: 0 / 0.6857 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5815, allocations: 3.938 kB / 0.6857 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5815, allocations: 4 kB / 0.6857 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.5816, allocations: 47.97 kB / 0.6857 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.5821, allocations: 385.8 kB / 0.6861 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.5822, allocations: 66.44 kB / 0.6861 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.5822, allocations: 20.84 kB / 0.6862 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.584, allocations: 1.217 MB / 0.6874 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.584, allocations: 38.5 kB / 0.6874 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.584, allocations: 0 / 0.6874 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006889/0.5909, allocations: 0.6573 MB / 0.688 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.591, allocations: 59.41 kB / 0.6881 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.5911, allocations: 101.8 kB / 0.6882 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.5911, allocations: 29.7 kB / 0.6882 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.5912, allocations: 92.27 kB / 0.6883 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.5912, allocations: 47.27 kB / 0.6883 GB, free: 232 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.5913, allocations: 45.67 kB / 0.6884 GB, free: 180 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5915, allocations: 314.8 kB / 0.6887 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5917, allocations: 79.94 kB / 0.6888 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5919, allocations: 114.5 kB / 0.6889 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.5924, allocations: 205.5 kB / 0.6891 GB, free: 15.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5924, allocations: 0 / 0.6891 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005677/0.5929, allocations: 249.5 kB / 0.6893 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.593, allocations: 6.031 kB / 0.6893 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.593, allocations: 0 / 0.6893 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.593, allocations: 7.984 kB / 0.6893 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.5937, allocations: 52.19 kB / 0.6894 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5937, allocations: 7.938 kB / 0.6894 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.5942, allocations: 16 kB / 0.6894 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.5943, allocations: 11.98 kB / 0.6894 GB, free: 15.11 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.0001182/0.5944, allocations: 129.8 kB / 0.6895 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.5945, allocations: 8.469 kB / 0.6895 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.5953, allocations: 339.5 kB / 0.6899 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5953, allocations: 4 kB / 0.6899 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5953, allocations: 4 kB / 0.6899 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5953, allocations: 7.922 kB / 0.6899 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5964, allocations: 0.7517 MB / 0.6906 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5964, allocations: 0 / 0.6906 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.597, allocations: 51.89 kB / 0.6907 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.597, allocations: 0 / 0.6907 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.5971, allocations: 4 kB / 0.6907 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5971, allocations: 3.984 kB / 0.6907 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5971, allocations: 3.938 kB / 0.6907 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.5977, allocations: 362 kB / 0.691 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5978, allocations: 101 kB / 0.6911 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.5979, allocations: 4 kB / 0.6911 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.5984, allocations: 8 kB / 0.6911 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.5984, allocations: 23.91 kB / 0.6912 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.5985, allocations: 4 kB / 0.6912 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.5985, allocations: 91.2 kB / 0.6912 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5985, allocations: 0 / 0.6912 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000458/0.599, allocations: 107.9 kB / 0.6913 GB, free: 12.98 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.0004487/0.5994, allocations: 223 kB / 0.6916 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.6, allocations: 203.8 kB / 0.6918 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6, allocations: 0 / 0.6918 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.6002, allocations: 123.8 kB / 0.6919 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.6007, allocations: 38.66 kB / 0.6919 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.6013, allocations: 277.9 kB / 0.6922 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.6016, allocations: 0.6926 MB / 0.6928 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.6018, allocations: 39.39 kB / 0.6929 GB, free: 11.34 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.6018, allocations: 4 kB / 0.6929 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Templates: time 0.006761/0.6086, allocations: 4.107 MB / 0.6969 GB, free: 7.219 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/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