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.00122/0.00122, allocations: 109 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.00137/0.00137, allocations: 210.8 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.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 71.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3345, allocations: 62.44 MB / 0.5316 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1699/0.5044, allocations: 154.4 MB / 0.6824 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.5059, allocations: 1.195 MB / 0.6836 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.5059, allocations: 0 / 0.6836 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.5061, allocations: 35.8 kB / 0.6836 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.734e-05/0.5062, allocations: 35.7 kB / 0.6836 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.5073, allocations: 445.7 kB / 0.6841 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.491e-05/0.5074, allocations: 67.61 kB / 0.6841 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.5075, allocations: 3.984 kB / 0.6841 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.5075, allocations: 39.86 kB / 0.6842 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.5076, allocations: 27.86 kB / 0.6842 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.5076, allocations: 0 / 0.6842 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.5086, allocations: 0.4987 MB / 0.6847 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.5086, allocations: 4 kB / 0.6847 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.5087, allocations: 31.86 kB / 0.6847 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.5092, allocations: 313.3 kB / 0.685 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5092, allocations: 0 / 0.685 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5092, allocations: 0 / 0.685 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5092, allocations: 0 / 0.685 GB, free: 4.277 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.0005682/0.5098, allocations: 407.3 kB / 0.6854 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5098, allocations: 8.031 kB / 0.6854 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.5099, allocations: 8.844 kB / 0.6854 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.51, allocations: 171 kB / 0.6856 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.51, allocations: 8 kB / 0.6856 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5101, allocations: 4 kB / 0.6856 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5102, allocations: 77.59 kB / 0.6857 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5102, allocations: 0 / 0.6857 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5102, allocations: 3.938 kB / 0.6857 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5103, allocations: 4 kB / 0.6857 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.5103, allocations: 43.97 kB / 0.6857 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.5108, allocations: 389.7 kB / 0.6861 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.5109, allocations: 66.48 kB / 0.6862 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.511, allocations: 20.86 kB / 0.6862 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.5127, allocations: 1.217 MB / 0.6874 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5128, allocations: 34.5 kB / 0.6874 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5128, allocations: 0 / 0.6874 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007138/0.5199, allocations: 0.6601 MB / 0.688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.52, allocations: 55.41 kB / 0.6881 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.52, allocations: 105.8 kB / 0.6882 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.5201, allocations: 25.7 kB / 0.6882 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.5202, allocations: 100.3 kB / 0.6883 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.5202, allocations: 43.27 kB / 0.6884 GB, free: 408 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5203, allocations: 45.67 kB / 0.6884 GB, free: 356 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5204, allocations: 318.8 kB / 0.6887 GB, free: 28 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5207, allocations: 79.94 kB / 0.6888 GB, free: 15.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5209, allocations: 109 kB / 0.6889 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.5214, allocations: 210.4 kB / 0.6891 GB, free: 15.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5214, allocations: 0 / 0.6891 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005625/0.5219, allocations: 241.5 kB / 0.6893 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.522, allocations: 4 kB / 0.6893 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.522, allocations: 4.047 kB / 0.6893 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.522, allocations: 8 kB / 0.6893 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.5227, allocations: 47.95 kB / 0.6894 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5227, allocations: 7.938 kB / 0.6894 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.5232, allocations: 15.98 kB / 0.6894 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5233, allocations: 7.984 kB / 0.6894 GB, free: 15.29 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.0001213/0.5234, allocations: 126.3 kB / 0.6895 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.5235, allocations: 11.84 kB / 0.6895 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/0.5243, allocations: 353.2 kB / 0.6899 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5243, allocations: 3.984 kB / 0.6899 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5243, allocations: 0 / 0.6899 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5243, allocations: 0 / 0.6899 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5254, allocations: 0.7672 MB / 0.6906 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5254, allocations: 0 / 0.6906 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.5261, allocations: 39.97 kB / 0.6907 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5261, allocations: 0 / 0.6907 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.5261, allocations: 11.98 kB / 0.6907 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5261, allocations: 0 / 0.6907 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.5261, allocations: 3.938 kB / 0.6907 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.5267, allocations: 362 kB / 0.691 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5269, allocations: 101 kB / 0.6911 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.5269, allocations: 0 / 0.6911 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.5274, allocations: 16.23 kB / 0.6911 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.5275, allocations: 15.92 kB / 0.6911 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.5275, allocations: 19.92 kB / 0.6912 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.5276, allocations: 79.28 kB / 0.6912 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5276, allocations: 0 / 0.6912 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004508/0.528, allocations: 103.9 kB / 0.6913 GB, free: 13.15 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.0004233/0.5285, allocations: 219 kB / 0.6916 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.529, allocations: 211.1 kB / 0.6918 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.529, allocations: 0 / 0.6918 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.5292, allocations: 123.8 kB / 0.6919 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.5296, allocations: 27.97 kB / 0.6919 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.5302, allocations: 286 kB / 0.6922 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5305, allocations: 0.6926 MB / 0.6928 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.5307, allocations: 39.38 kB / 0.6929 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5307, allocations: 0 / 0.6929 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.005833/0.5366, allocations: 4.121 MB / 0.6969 GB, free: 7.383 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