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.001633/0.001633, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.002169/0.002169, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.588/1.588, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.226/0.226, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.002807/0.002807, allocations: 71.83 kB / 0.4921 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1375, allocations: 65.99 MB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4948/0.6323, allocations: 154.8 MB / 0.7077 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.634, allocations: 1.195 MB / 0.7089 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.634, allocations: 0 / 0.7089 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.6343, allocations: 39.8 kB / 0.7089 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.6343, allocations: 31.7 kB / 0.7089 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.6357, allocations: 437.8 kB / 0.7094 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.6358, allocations: 71.59 kB / 0.7094 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.6359, allocations: 8 kB / 0.7094 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.636, allocations: 35.84 kB / 0.7095 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.6361, allocations: 19.92 kB / 0.7095 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.6361, allocations: 8 kB / 0.7095 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.6372, allocations: 0.5146 MB / 0.71 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.6373, allocations: 7.922 kB / 0.71 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.6373, allocations: 27.88 kB / 0.71 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.6379, allocations: 315.8 kB / 0.7103 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6379, allocations: 3.938 kB / 0.7103 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6379, allocations: 0 / 0.7103 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6379, allocations: 0 / 0.7103 GB, free: 3.621 MB / 0.5137 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.0006826/0.6386, allocations: 410.8 kB / 0.7107 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6386, allocations: 8.031 kB / 0.7107 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.6387, allocations: 5.312 kB / 0.7107 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6388, allocations: 175 kB / 0.7109 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.6388, allocations: 0 / 0.7109 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.6388, allocations: 8 kB / 0.7109 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.639, allocations: 74.47 kB / 0.711 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.639, allocations: 0 / 0.711 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.639, allocations: 7.938 kB / 0.711 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.639, allocations: 0 / 0.711 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.6391, allocations: 47.97 kB / 0.711 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.6397, allocations: 381.8 kB / 0.7114 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.6398, allocations: 70.45 kB / 0.7115 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.6398, allocations: 20.86 kB / 0.7115 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/0.6419, allocations: 1.217 MB / 0.7127 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6419, allocations: 34.56 kB / 0.7127 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.6419, allocations: 3.938 kB / 0.7127 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007339/0.6493, allocations: 0.6539 MB / 0.7134 GB, free: 104 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.6493, allocations: 67.39 kB / 0.7134 GB, free: 24 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.6494, allocations: 97.86 kB / 0.7135 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.6495, allocations: 29.7 kB / 0.7135 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.6495, allocations: 92.3 kB / 0.7136 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.6496, allocations: 55.58 kB / 0.7137 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.6497, allocations: 41.67 kB / 0.7137 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6499, allocations: 314.8 kB / 0.714 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.6501, allocations: 83.94 kB / 0.7141 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.6503, allocations: 106.5 kB / 0.7142 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.6508, allocations: 198.3 kB / 0.7144 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6508, allocations: 4 kB / 0.7144 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006153/0.6514, allocations: 253.4 kB / 0.7146 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6515, allocations: 4 kB / 0.7146 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6515, allocations: 4 kB / 0.7146 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6515, allocations: 0 / 0.7146 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.6522, allocations: 51.89 kB / 0.7147 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6522, allocations: 0.5625 kB / 0.7147 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.6528, allocations: 20.8 kB / 0.7147 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.6529, allocations: 11.98 kB / 0.7147 GB, free: 14.63 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.0001377/0.653, allocations: 128 kB / 0.7148 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.6531, allocations: 3.953 kB / 0.7149 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.654, allocations: 354.8 kB / 0.7152 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.654, allocations: 4 kB / 0.7152 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.654, allocations: 0 / 0.7152 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.654, allocations: 4 kB / 0.7152 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.6552, allocations: 0.758 MB / 0.7159 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6552, allocations: 3.938 kB / 0.7159 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.6559, allocations: 39.97 kB / 0.716 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6559, allocations: 0 / 0.716 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.656, allocations: 11.98 kB / 0.716 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.656, allocations: 4 kB / 0.716 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.656, allocations: 0 / 0.716 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.6566, allocations: 355.2 kB / 0.7163 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6568, allocations: 101 kB / 0.7164 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.6568, allocations: 15.92 kB / 0.7164 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.6574, allocations: 8 kB / 0.7165 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.6574, allocations: 15.92 kB / 0.7165 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.6575, allocations: 15.98 kB / 0.7165 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.6576, allocations: 87.27 kB / 0.7166 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6576, allocations: 0 / 0.7166 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004761/0.658, allocations: 99.73 kB / 0.7167 GB, free: 12.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.0004824/0.6585, allocations: 222.9 kB / 0.7169 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.6591, allocations: 201.4 kB / 0.7171 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6591, allocations: 0 / 0.7171 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.6593, allocations: 119.8 kB / 0.7172 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.6598, allocations: 35.55 kB / 0.7172 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.6605, allocations: 277.6 kB / 0.7175 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.6608, allocations: 0.6926 MB / 0.7182 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.6611, allocations: 43.39 kB / 0.7182 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.6611, allocations: 0 / 0.7182 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.007582/0.6686, allocations: 4.133 MB / 0.7222 GB, free: 6.73 MB / 0.5294 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/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: 8.126113955018809]