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.001684/0.001684, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001829/0.001829, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.3277/0.3277, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002177/0.002177, allocations: 63.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1784/0.4921, allocations: 133.3 MB / 0.6912 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4937, allocations: 1.071 MB / 0.6923 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.4938, allocations: 0 / 0.6923 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.494, allocations: 31.81 kB / 0.6923 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.494, allocations: 27.77 kB / 0.6923 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.4954, allocations: 433.7 kB / 0.6927 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.4955, allocations: 67.61 kB / 0.6928 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.4955, allocations: 3.984 kB / 0.6928 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4956, allocations: 39.91 kB / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.4957, allocations: 23.88 kB / 0.6929 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.4957, allocations: 0 / 0.6929 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4968, allocations: 470.8 kB / 0.6933 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.4968, allocations: 11.94 kB / 0.6933 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.4969, allocations: 19.92 kB / 0.6933 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.4975, allocations: 305.8 kB / 0.6936 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4975, allocations: 0 / 0.6936 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4975, allocations: 0 / 0.6936 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4975, allocations: 4 kB / 0.6936 GB, free: 11.89 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.0006433/0.4981, allocations: 333.6 kB / 0.694 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4981, allocations: 8.031 kB / 0.694 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.4982, allocations: 4.938 kB / 0.694 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4983, allocations: 121.1 kB / 0.6941 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4983, allocations: 4 kB / 0.6941 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.4984, allocations: 8 kB / 0.6941 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.4985, allocations: 69.66 kB / 0.6942 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4985, allocations: 0 / 0.6942 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4985, allocations: 0 / 0.6942 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4985, allocations: 11.94 kB / 0.6942 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.4986, allocations: 47.97 kB / 0.6942 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.4991, allocations: 260.3 kB / 0.6945 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.4992, allocations: 54.56 kB / 0.6945 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.4992, allocations: 20.84 kB / 0.6945 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.5006, allocations: 251.8 kB / 0.6948 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5007, allocations: 38.69 kB / 0.6948 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.5007, allocations: 0 / 0.6948 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007046/0.5077, allocations: 0.6609 MB / 0.6955 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5078, allocations: 51.41 kB / 0.6955 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.5079, allocations: 105.8 kB / 0.6956 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5079, allocations: 25.7 kB / 0.6956 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.508, allocations: 100.2 kB / 0.6957 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.508, allocations: 55.56 kB / 0.6958 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.5081, allocations: 41.67 kB / 0.6958 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5083, allocations: 318.8 kB / 0.6961 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5085, allocations: 83.88 kB / 0.6962 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.5087, allocations: 105.6 kB / 0.6963 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.5092, allocations: 201.9 kB / 0.6965 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5092, allocations: 4 kB / 0.6965 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005964/0.5098, allocations: 257.4 kB / 0.6967 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5098, allocations: 4 kB / 0.6968 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5098, allocations: 0 / 0.6968 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5098, allocations: 4 kB / 0.6968 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.5107, allocations: 51.89 kB / 0.6968 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5107, allocations: 0 / 0.6968 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.5112, allocations: 20.55 kB / 0.6968 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.5113, allocations: 11.98 kB / 0.6968 GB, free: 8.426 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.0001319/0.5114, allocations: 125.8 kB / 0.697 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.5115, allocations: 7.953 kB / 0.697 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/0.5124, allocations: 341.4 kB / 0.6973 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5124, allocations: 0 / 0.6973 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5124, allocations: 0 / 0.6973 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5124, allocations: 4 kB / 0.6973 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.5136, allocations: 0.6953 MB / 0.698 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5136, allocations: 0 / 0.698 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.5143, allocations: 43.91 kB / 0.698 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5143, allocations: 0 / 0.698 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.5143, allocations: 11.98 kB / 0.698 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5143, allocations: 0 / 0.698 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5143, allocations: 0 / 0.698 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.515, allocations: 359.3 kB / 0.6984 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5151, allocations: 27.91 kB / 0.6984 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.5152, allocations: 3.938 kB / 0.6984 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.5157, allocations: 19.92 kB / 0.6984 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.5158, allocations: 11.97 kB / 0.6984 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.5158, allocations: 8 kB / 0.6984 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.5159, allocations: 95.2 kB / 0.6985 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5159, allocations: 0 / 0.6985 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004653/0.5164, allocations: 103.7 kB / 0.6986 GB, free: 6.484 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.000466/0.5168, allocations: 222.8 kB / 0.6988 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.5174, allocations: 201.5 kB / 0.699 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5174, allocations: 4.125 kB / 0.699 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.5177, allocations: 115.8 kB / 0.6991 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.5182, allocations: 31.91 kB / 0.6992 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.5188, allocations: 248.6 kB / 0.6994 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.298e-05/0.5189, allocations: 87.44 kB / 0.6995 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003444/0.5192, allocations: 64.84 kB / 0.6996 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.5194, allocations: 39.38 kB / 0.6996 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.5194, allocations: 0 / 0.6996 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of Templates: time 0.01244/0.5318, allocations: 6.826 MB / 0.7063 GB, free: 14.64 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.769281849265099]