Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.95 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2947, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1634/0.458, allocations: 133.3 MB / 0.6919 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.4596, allocations: 1.071 MB / 0.693 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.4596, allocations: 4 kB / 0.693 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.4597, allocations: 23.84 kB / 0.693 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.4598, allocations: 27.77 kB / 0.693 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.4609, allocations: 433.7 kB / 0.6935 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.461, allocations: 71.59 kB / 0.6935 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.461, allocations: 0 / 0.6935 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.4611, allocations: 35.91 kB / 0.6936 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.4612, allocations: 27.86 kB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.4612, allocations: 3.984 kB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009856/0.4622, allocations: 486.7 kB / 0.6941 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.4622, allocations: 11.98 kB / 0.6941 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.4622, allocations: 19.88 kB / 0.6941 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.4627, allocations: 301.8 kB / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4627, allocations: 0 / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4627, allocations: 0 / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.4627, allocations: 0 / 0.6944 GB, free: 11.91 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.0005646/0.4633, allocations: 333.6 kB / 0.6947 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4633, allocations: 12.03 kB / 0.6947 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.4634, allocations: 4.938 kB / 0.6947 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4635, allocations: 129 kB / 0.6948 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4635, allocations: 4 kB / 0.6948 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4635, allocations: 8 kB / 0.6948 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4637, allocations: 65.67 kB / 0.6949 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4637, allocations: 0 / 0.6949 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.4637, allocations: 0 / 0.6949 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4637, allocations: 4 kB / 0.6949 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.4638, allocations: 51.95 kB / 0.695 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.4642, allocations: 256.3 kB / 0.6952 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.4643, allocations: 58.55 kB / 0.6953 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.4643, allocations: 20.86 kB / 0.6953 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.4657, allocations: 255.8 kB / 0.6955 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.4657, allocations: 46.61 kB / 0.6956 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4657, allocations: 0 / 0.6956 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007511/0.4733, allocations: 0.657 MB / 0.6962 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.4733, allocations: 51.41 kB / 0.6963 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.4734, allocations: 105.8 kB / 0.6964 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4734, allocations: 25.7 kB / 0.6964 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.4735, allocations: 96.27 kB / 0.6965 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.4735, allocations: 47.58 kB / 0.6965 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.4737, allocations: 41.67 kB / 0.6966 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4738, allocations: 326.8 kB / 0.6969 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.474, allocations: 75.95 kB / 0.6969 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4743, allocations: 113.5 kB / 0.6971 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.4747, allocations: 198.3 kB / 0.6972 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4747, allocations: 0 / 0.6972 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000598/0.4753, allocations: 253.4 kB / 0.6975 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4753, allocations: 4 kB / 0.6975 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4753, allocations: 8 kB / 0.6975 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4754, allocations: 4 kB / 0.6975 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007161/0.4761, allocations: 51.94 kB / 0.6976 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4761, allocations: 0 / 0.6976 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.4767, allocations: 16.25 kB / 0.6976 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.4767, allocations: 15.97 kB / 0.6976 GB, free: 8.441 MB / 0.5294 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.0001433/0.4768, allocations: 121.7 kB / 0.6977 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4769, allocations: 7.953 kB / 0.6977 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008827/0.4778, allocations: 350 kB / 0.698 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.4778, allocations: 0 / 0.698 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4778, allocations: 7.969 kB / 0.698 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4778, allocations: 0 / 0.698 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.479, allocations: 0.6914 MB / 0.6987 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.479, allocations: 4 kB / 0.6987 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.4797, allocations: 47.89 kB / 0.6988 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4797, allocations: 0 / 0.6988 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4797, allocations: 8 kB / 0.6988 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4797, allocations: 0 / 0.6988 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4797, allocations: 3.938 kB / 0.6988 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.4804, allocations: 359.3 kB / 0.6991 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.4804, allocations: 19.92 kB / 0.6991 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.4805, allocations: 7.984 kB / 0.6992 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.4811, allocations: 16 kB / 0.6992 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.4811, allocations: 11.97 kB / 0.6992 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.4811, allocations: 11.98 kB / 0.6992 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.4812, allocations: 87.22 kB / 0.6993 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4812, allocations: 0 / 0.6993 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004637/0.4817, allocations: 103.7 kB / 0.6994 GB, free: 6.5 MB / 0.5294 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.0004679/0.4821, allocations: 222.8 kB / 0.6996 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.4827, allocations: 203.8 kB / 0.6998 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4827, allocations: 0 / 0.6998 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.4829, allocations: 113.9 kB / 0.6999 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4834, allocations: 32.28 kB / 0.6999 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.484, allocations: 252.5 kB / 0.7002 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.429e-05/0.484, allocations: 79.5 kB / 0.7002 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.4844, allocations: 72.84 kB / 0.7003 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4846, allocations: 35.39 kB / 0.7003 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.4846, allocations: 0 / 0.7003 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.01228/0.4969, allocations: 6.874 MB / 0.7071 GB, free: 14.61 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.35213160100102]