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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 230.7 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.0009801, allocations: 87.73 kB / 281.6 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2714/0.2714, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/2.001e-05, allocations: 0 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 61.92 MB / 0.4947 GB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.814, allocations: 471.3 MB / 0.9549 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.814, allocations: 71.97 kB / 0.955 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.07677/1.891, allocations: 40.57 MB / 0.9946 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.776e-06/1.891, allocations: 0 / 0.9946 GB, free: 106 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.891, allocations: 4 kB / 0.9946 GB, free: 106 MB / 0.5105 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.0006308/1.892, allocations: 399.2 kB / 0.995 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.892, allocations: 11.98 kB / 0.995 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/1.892, allocations: 15.91 kB / 0.995 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.892, allocations: 174.9 kB / 0.9952 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.892, allocations: 3.953 kB / 0.9952 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/1.892, allocations: 4 kB / 0.9952 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001392/1.892, allocations: 43.98 kB / 0.9952 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/1.892, allocations: 57.67 kB / 0.9953 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.893, allocations: 0 / 0.9953 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.893, allocations: 4 kB / 0.9953 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.893, allocations: 4 kB / 0.9953 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/1.893, allocations: 370.3 kB / 0.9957 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/1.893, allocations: 50.56 kB / 0.9957 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/1.893, allocations: 20.86 kB / 0.9957 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.894, allocations: 0.9938 MB / 0.9967 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.894, allocations: 34.56 kB / 0.9967 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/1.894, allocations: 0 / 0.9967 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.007043/1.901, allocations: 0.8754 MB / 0.9976 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/1.901, allocations: 55.53 kB / 0.9976 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/1.902, allocations: 93 kB / 0.9977 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/1.902, allocations: 25.7 kB / 0.9978 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/1.902, allocations: 104.2 kB / 0.9979 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/1.902, allocations: 39.36 kB / 0.9979 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/1.902, allocations: 0 / 0.9979 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.902, allocations: 318.8 kB / 0.9982 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/1.902, allocations: 67.98 kB / 0.9983 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.902, allocations: 98.55 kB / 0.9984 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.903, allocations: 211.8 kB / 0.9986 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.903, allocations: 4 kB / 0.9986 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001311/1.904, allocations: 350 kB / 0.9989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.904, allocations: 7.938 kB / 0.9989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.904, allocations: 0 / 0.9989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.905, allocations: 8.047 kB / 0.9989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/1.905, allocations: 55.89 kB / 0.999 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.905, allocations: 3.953 kB / 0.999 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/1.906, allocations: 23.83 kB / 0.999 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/1.906, allocations: 19.97 kB / 0.999 GB, free: 101.1 MB / 0.5105 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 () * 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 9.112e-05/1.906, allocations: 101 kB / 0.9991 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/1.906, allocations: 4 kB / 0.9991 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.907, allocations: 463.2 kB / 0.9996 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.907, allocations: 4 kB / 0.9996 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.907, allocations: 0 / 0.9996 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.907, allocations: 0 / 0.9996 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.909, allocations: 0.8345 MB / 1 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.909, allocations: 3.938 kB / 1 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/1.91, allocations: 39.97 kB / 1 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.91, allocations: 4 kB / 1 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/1.91, allocations: 7.984 kB / 1 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.91, allocations: 0 / 1 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.91, allocations: 0 / 1 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/1.911, allocations: 467 kB / 1.001 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.911, allocations: 112.9 kB / 1.001 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.911, allocations: 0 / 1.001 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/1.912, allocations: 4.25 kB / 1.001 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/1.912, allocations: 15.97 kB / 1.001 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/1.912, allocations: 12 kB / 1.001 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.436e-05/1.912, allocations: 83.27 kB / 1.001 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.912, allocations: 0 / 1.001 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006284/1.912, allocations: 131.9 kB / 1.001 GB, free: 98.68 MB / 0.5105 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 () * 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.00129/1.914, allocations: 0.723 MB / 1.002 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003872/1.914, allocations: 184 kB / 1.002 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.914, allocations: 4 kB / 1.002 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.914, allocations: 107.9 kB / 1.002 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/1.915, allocations: 19.98 kB / 1.002 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/1.915, allocations: 156.2 kB / 1.002 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/1.915, allocations: 0.7043 MB / 1.003 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004676/1.916, allocations: 72.67 kB / 1.003 GB, free: 96.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/1.916, allocations: 31.41 kB / 1.003 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/1.916, allocations: 0 / 1.003 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.01233/1.928, allocations: 8.577 MB / 1.012 GB, free: 88.05 MB / 0.5105 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches