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.001689/0.001689, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002655/0.002655, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.259/0.259, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002038/0.002038, allocations: 67.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1828/0.5912, allocations: 133.3 MB / 0.6912 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.5928, allocations: 1.074 MB / 0.6923 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.5929, allocations: 0 / 0.6923 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.593, allocations: 27.83 kB / 0.6923 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.5931, allocations: 27.78 kB / 0.6923 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5944, allocations: 433.7 kB / 0.6927 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.5945, allocations: 75.59 kB / 0.6928 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.5945, allocations: 0 / 0.6928 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.5946, allocations: 31.92 kB / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.5947, allocations: 31.84 kB / 0.6929 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.5947, allocations: 0 / 0.6929 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.5958, allocations: 482.7 kB / 0.6933 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.5958, allocations: 15.97 kB / 0.6933 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.5959, allocations: 15.94 kB / 0.6934 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.5964, allocations: 309.8 kB / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5964, allocations: 0 / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5964, allocations: 0 / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5964, allocations: 0 / 0.6937 GB, free: 11.87 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.0005476/0.597, allocations: 333.6 kB / 0.694 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.597, allocations: 8.031 kB / 0.694 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.597, allocations: 4.938 kB / 0.694 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5972, allocations: 125 kB / 0.6941 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.5972, allocations: 4 kB / 0.6941 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.5972, allocations: 8 kB / 0.6941 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.5973, allocations: 65.67 kB / 0.6942 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5973, allocations: 4 kB / 0.6942 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.5974, allocations: 0 / 0.6942 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5974, allocations: 4 kB / 0.6942 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.5975, allocations: 55.89 kB / 0.6942 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.5978, allocations: 248.4 kB / 0.6945 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.598, allocations: 58.55 kB / 0.6945 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.598, allocations: 16.86 kB / 0.6946 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.5995, allocations: 259.9 kB / 0.6948 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5995, allocations: 38.55 kB / 0.6948 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.5995, allocations: 0 / 0.6948 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007761/0.6073, allocations: 0.657 MB / 0.6955 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6073, allocations: 55.34 kB / 0.6955 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.6074, allocations: 105.8 kB / 0.6956 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.6075, allocations: 29.7 kB / 0.6957 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.6075, allocations: 100.2 kB / 0.6958 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.6076, allocations: 47.58 kB / 0.6958 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.6077, allocations: 41.67 kB / 0.6958 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6078, allocations: 322.8 kB / 0.6961 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6081, allocations: 75.95 kB / 0.6962 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.6083, allocations: 106.5 kB / 0.6963 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.6088, allocations: 201.8 kB / 0.6965 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6088, allocations: 3.938 kB / 0.6965 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006237/0.6094, allocations: 253.4 kB / 0.6968 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6094, allocations: 4 kB / 0.6968 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.6094, allocations: 0 / 0.6968 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6094, allocations: 4 kB / 0.6968 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.6102, allocations: 47.94 kB / 0.6968 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6102, allocations: 4 kB / 0.6968 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.6108, allocations: 20.06 kB / 0.6968 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.6108, allocations: 15.97 kB / 0.6969 GB, free: 8.41 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.0001322/0.611, allocations: 121.7 kB / 0.697 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.611, allocations: 8.203 kB / 0.697 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/0.6119, allocations: 350 kB / 0.6973 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6119, allocations: 0 / 0.6973 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6119, allocations: 3.984 kB / 0.6973 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6119, allocations: 0 / 0.6973 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6131, allocations: 0.6955 MB / 0.698 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6131, allocations: 0 / 0.698 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.6138, allocations: 47.89 kB / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6138, allocations: 0 / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.6139, allocations: 8 kB / 0.698 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6139, allocations: 4 kB / 0.698 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6139, allocations: 0 / 0.698 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.6146, allocations: 359.3 kB / 0.6984 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6147, allocations: 27.86 kB / 0.6984 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.6147, allocations: 3.984 kB / 0.6984 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.6153, allocations: 12 kB / 0.6984 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.6153, allocations: 11.97 kB / 0.6984 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.6154, allocations: 11.98 kB / 0.6985 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.6154, allocations: 91.16 kB / 0.6985 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6154, allocations: 0 / 0.6985 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005257/0.616, allocations: 107.7 kB / 0.6986 GB, free: 6.465 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.0005067/0.6165, allocations: 214.8 kB / 0.6988 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.617, allocations: 207.8 kB / 0.699 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.617, allocations: 0 / 0.699 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.6173, allocations: 113.5 kB / 0.6992 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.6178, allocations: 31.95 kB / 0.6992 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.6185, allocations: 256.7 kB / 0.6994 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.618e-05/0.6186, allocations: 79.5 kB / 0.6995 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.6189, allocations: 73.03 kB / 0.6996 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.6192, allocations: 35.39 kB / 0.6996 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.6192, allocations: 0 / 0.6996 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of Templates: time 0.01305/0.6322, allocations: 6.868 MB / 0.7063 GB, free: 14.58 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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.816114292945713]