Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001434/0.001434, allocations: 109 kB / 20.45 MB, free: 1.52 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.001576/0.001576, allocations: 215.3 kB / 23.76 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.23 MB / 331 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002206/0.002206, allocations: 83.81 kB / 468.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1119, allocations: 61.03 MB / 0.5174 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3621/0.474, allocations: 153.6 MB / 0.6674 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.4789, allocations: 3.682 MB / 0.671 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.4789, allocations: 7.938 kB / 0.671 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.4791, allocations: 35.81 kB / 0.671 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.4791, allocations: 19.78 kB / 0.6711 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4805, allocations: 457.4 kB / 0.6715 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.4806, allocations: 67.59 kB / 0.6716 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.4807, allocations: 7.984 kB / 0.6716 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.4807, allocations: 31.92 kB / 0.6716 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.4808, allocations: 23.91 kB / 0.6716 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.4808, allocations: 3.938 kB / 0.6716 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.482, allocations: 0.5182 MB / 0.6721 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.482, allocations: 11.92 kB / 0.6721 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.482, allocations: 31.86 kB / 0.6722 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.4827, allocations: 306 kB / 0.6725 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4827, allocations: 4 kB / 0.6725 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4827, allocations: 0 / 0.6725 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4827, allocations: 0 / 0.6725 GB, free: 4.652 MB / 0.4981 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.000603/0.4833, allocations: 333.6 kB / 0.6728 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4833, allocations: 8.031 kB / 0.6728 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.4834, allocations: 12.89 kB / 0.6728 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4835, allocations: 109.9 kB / 0.6729 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4835, allocations: 4 kB / 0.6729 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4835, allocations: 4 kB / 0.6729 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.4837, allocations: 77.66 kB / 0.673 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4837, allocations: 4 kB / 0.673 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4837, allocations: 0 / 0.673 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4837, allocations: 0 / 0.673 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.4838, allocations: 55.91 kB / 0.673 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4843, allocations: 352.9 kB / 0.6734 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.4844, allocations: 54.56 kB / 0.6734 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.4844, allocations: 28.97 kB / 0.6735 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.4858, allocations: 263.7 kB / 0.6737 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4858, allocations: 34.56 kB / 0.6737 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4858, allocations: 3.938 kB / 0.6738 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006497/0.4923, allocations: 0.6808 MB / 0.6744 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4924, allocations: 55.34 kB / 0.6745 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4925, allocations: 105.8 kB / 0.6746 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.4925, allocations: 25.7 kB / 0.6746 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.4926, allocations: 92.31 kB / 0.6747 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.4926, allocations: 47.59 kB / 0.6747 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4927, allocations: 45.67 kB / 0.6748 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4929, allocations: 310.8 kB / 0.6751 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.4931, allocations: 87.94 kB / 0.6752 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.4933, allocations: 111.6 kB / 0.6753 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.4937, allocations: 203.3 kB / 0.6755 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4937, allocations: 4 kB / 0.6755 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005337/0.4943, allocations: 245.6 kB / 0.6757 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4943, allocations: 4 kB / 0.6757 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4943, allocations: 4 kB / 0.6757 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4943, allocations: 0 / 0.6757 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.4949, allocations: 55.94 kB / 0.6758 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4949, allocations: 0 / 0.6758 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.4954, allocations: 12 kB / 0.6758 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.4954, allocations: 18.3 kB / 0.6758 GB, free: 1.039 MB / 0.4981 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.0001238/0.4956, allocations: 125.8 kB / 0.6759 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4956, allocations: 11.89 kB / 0.6759 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.4964, allocations: 341.7 kB / 0.6762 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4964, allocations: 0 / 0.6762 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4964, allocations: 4 kB / 0.6762 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4964, allocations: 3.984 kB / 0.6762 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.4975, allocations: 0.7247 MB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4975, allocations: 3.938 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.4981, allocations: 47.89 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4981, allocations: 0 / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4981, allocations: 8 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4981, allocations: 4 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4981, allocations: 0 / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.4987, allocations: 365.9 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.4988, allocations: 35.84 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.4988, allocations: 4 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.4993, allocations: 4 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.4994, allocations: 27.91 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.4994, allocations: 8.484 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.4995, allocations: 84.09 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4995, allocations: 4 kB / 0.6775 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000437/0.4999, allocations: 99.8 kB / 0.6776 GB, free: 15.04 MB / 0.5137 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.0004371/0.5003, allocations: 214.8 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.5009, allocations: 207.8 kB / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5009, allocations: 0 / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.5011, allocations: 111.9 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.5015, allocations: 35.27 kB / 0.6782 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.5021, allocations: 282.6 kB / 0.6784 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.5024, allocations: 0.7047 MB / 0.6791 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.5026, allocations: 35.41 kB / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.5026, allocations: 0 / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.006712/0.5093, allocations: 4.151 MB / 0.6832 GB, free: 9.254 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.058127074036747]