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/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.001783/0.001783, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001654/0.001654, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.93 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 65.47 MB / 0.5582 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1756/0.493, allocations: 133.3 MB / 0.6883 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.4946, allocations: 1.075 MB / 0.6894 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.4947, allocations: 0 / 0.6894 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.4949, allocations: 31.77 kB / 0.6894 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.4949, allocations: 23.78 kB / 0.6894 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.4965, allocations: 429.7 kB / 0.6898 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.4967, allocations: 75.52 kB / 0.6899 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.4967, allocations: 8 kB / 0.6899 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4968, allocations: 39.86 kB / 0.69 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.4969, allocations: 23.91 kB / 0.69 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.4969, allocations: 4 kB / 0.69 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4981, allocations: 462.8 kB / 0.6904 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.4981, allocations: 7.922 kB / 0.6904 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.4981, allocations: 27.92 kB / 0.6905 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.4987, allocations: 301.7 kB / 0.6907 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4987, allocations: 0 / 0.6907 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4987, allocations: 0 / 0.6907 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.4987, allocations: 8 kB / 0.6908 GB, free: 15.23 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.0006015/0.4993, allocations: 333.7 kB / 0.6911 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4993, allocations: 8.031 kB / 0.6911 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.4994, allocations: 4.938 kB / 0.6911 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4995, allocations: 117.1 kB / 0.6912 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4995, allocations: 4 kB / 0.6912 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4995, allocations: 4 kB / 0.6912 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4997, allocations: 73.67 kB / 0.6913 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4997, allocations: 7.875 kB / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4997, allocations: 0 / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4997, allocations: 4 kB / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.4998, allocations: 51.97 kB / 0.6913 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5003, allocations: 248.4 kB / 0.6916 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5004, allocations: 66.48 kB / 0.6916 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.5004, allocations: 16.86 kB / 0.6916 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.5019, allocations: 255.8 kB / 0.6919 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.5019, allocations: 30.56 kB / 0.6919 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.5019, allocations: 0 / 0.6919 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007039/0.509, allocations: 0.6649 MB / 0.6926 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.509, allocations: 55.41 kB / 0.6926 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5091, allocations: 101.8 kB / 0.6927 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.5092, allocations: 29.7 kB / 0.6928 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.5092, allocations: 92.27 kB / 0.6928 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.5093, allocations: 55.58 kB / 0.6929 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5094, allocations: 41.67 kB / 0.6929 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5095, allocations: 318.8 kB / 0.6932 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.5097, allocations: 79.95 kB / 0.6933 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.51, allocations: 106.8 kB / 0.6934 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.5104, allocations: 198.3 kB / 0.6936 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5104, allocations: 4 kB / 0.6936 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005733/0.511, allocations: 257.4 kB / 0.6939 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.511, allocations: 8 kB / 0.6939 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.511, allocations: 0 / 0.6939 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.511, allocations: 0 / 0.6939 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.5117, allocations: 51.94 kB / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5117, allocations: 0 / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.5123, allocations: 16 kB / 0.6939 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.5123, allocations: 19.91 kB / 0.6939 GB, free: 11.77 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.0001307/0.5125, allocations: 125.8 kB / 0.6941 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.5125, allocations: 7.953 kB / 0.6941 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/0.5134, allocations: 344.6 kB / 0.6944 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5134, allocations: 7.938 kB / 0.6944 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5134, allocations: 0 / 0.6944 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5134, allocations: 7.984 kB / 0.6944 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5145, allocations: 0.6849 MB / 0.6951 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5145, allocations: 3.938 kB / 0.6951 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.5152, allocations: 43.97 kB / 0.6951 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5152, allocations: 0 / 0.6951 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5152, allocations: 7.984 kB / 0.6951 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5152, allocations: 0 / 0.6951 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5152, allocations: 0 / 0.6951 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.5159, allocations: 365.6 kB / 0.6955 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.516, allocations: 23.91 kB / 0.6955 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.516, allocations: 8 kB / 0.6955 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.5166, allocations: 7.984 kB / 0.6955 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.5166, allocations: 19.97 kB / 0.6955 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.5167, allocations: 7.984 kB / 0.6955 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.5167, allocations: 91.22 kB / 0.6956 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.5167, allocations: 0 / 0.6956 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004991/0.5172, allocations: 103.7 kB / 0.6957 GB, free: 9.828 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.0005053/0.5177, allocations: 218.8 kB / 0.6959 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.5183, allocations: 203.8 kB / 0.6961 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5183, allocations: 4.125 kB / 0.6961 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.5186, allocations: 115.8 kB / 0.6963 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.519, allocations: 31.95 kB / 0.6963 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.5197, allocations: 282.2 kB / 0.6966 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.935e-05/0.5198, allocations: 87.5 kB / 0.6966 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.52, allocations: 35.41 kB / 0.6967 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.52, allocations: 0 / 0.6967 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of Templates: time 0.007338/0.5274, allocations: 4.158 MB / 0.7007 GB, free: 4.645 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 8.036457242909819]