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.002225/0.002225, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.002462/0.002462, allocations: 212.7 kB / 23.74 MB, free: 4.531 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.736/1.736, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2778/0.2778, allocations: 46.93 MB / 360.8 MB, free: 4.27 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.002226/0.002226, allocations: 71.89 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 66.02 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2003/0.5682, allocations: 154.9 MB / 0.7124 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.5698, allocations: 1.207 MB / 0.7136 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5699, allocations: 0 / 0.7136 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.57, allocations: 35.8 kB / 0.7136 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.5701, allocations: 31.77 kB / 0.7136 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.5713, allocations: 445.6 kB / 0.714 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.5714, allocations: 71.61 kB / 0.7141 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.5715, allocations: 11.88 kB / 0.7141 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.5716, allocations: 31.92 kB / 0.7142 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.5716, allocations: 27.84 kB / 0.7142 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5716, allocations: 4 kB / 0.7142 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.5728, allocations: 0.5298 MB / 0.7147 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.5728, allocations: 4 kB / 0.7147 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.5728, allocations: 27.88 kB / 0.7147 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.5733, allocations: 321.7 kB / 0.715 GB, free: 6.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5734, allocations: 0 / 0.715 GB, free: 6.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5734, allocations: 0 / 0.715 GB, free: 6.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.5734, allocations: 0 / 0.715 GB, free: 6.199 MB / 0.545 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.0005552/0.5739, allocations: 337.6 kB / 0.7154 GB, free: 5.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5739, allocations: 12.03 kB / 0.7154 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.574, allocations: 0.9375 kB / 0.7154 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5741, allocations: 113.1 kB / 0.7155 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.5741, allocations: 8 kB / 0.7155 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.5741, allocations: 4 kB / 0.7155 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.5743, allocations: 85.58 kB / 0.7156 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5743, allocations: 0 / 0.7156 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5743, allocations: 0 / 0.7156 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5743, allocations: 4 kB / 0.7156 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.5744, allocations: 47.97 kB / 0.7156 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.5749, allocations: 360.9 kB / 0.716 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.575, allocations: 62.5 kB / 0.716 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.5751, allocations: 20.84 kB / 0.716 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.5765, allocations: 247.7 kB / 0.7163 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5765, allocations: 38.5 kB / 0.7163 GB, free: 4.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.5765, allocations: 0 / 0.7163 GB, free: 4.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.007118/0.5837, allocations: 0.6578 MB / 0.717 GB, free: 4.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5837, allocations: 55.41 kB / 0.717 GB, free: 4.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.5838, allocations: 97.95 kB / 0.7171 GB, free: 3.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.5838, allocations: 37.64 kB / 0.7171 GB, free: 3.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.5839, allocations: 92.3 kB / 0.7172 GB, free: 3.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.584, allocations: 51.53 kB / 0.7173 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.5841, allocations: 49.67 kB / 0.7173 GB, free: 3.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5842, allocations: 310.8 kB / 0.7176 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5844, allocations: 83.94 kB / 0.7177 GB, free: 3.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.5847, allocations: 102.5 kB / 0.7178 GB, free: 3.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.5851, allocations: 206.4 kB / 0.718 GB, free: 2.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5851, allocations: 0 / 0.718 GB, free: 2.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005858/0.5857, allocations: 257.1 kB / 0.7182 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5857, allocations: 4 kB / 0.7182 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5857, allocations: 0 / 0.7182 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5857, allocations: 4 kB / 0.7183 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.5865, allocations: 59.95 kB / 0.7183 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5865, allocations: 0 / 0.7183 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.587, allocations: 15.98 kB / 0.7183 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.5871, allocations: 15.98 kB / 0.7183 GB, free: 2.598 MB / 0.545 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.0001392/0.5872, allocations: 113.8 kB / 0.7184 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.5872, allocations: 7.953 kB / 0.7185 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.5881, allocations: 349.6 kB / 0.7188 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.5881, allocations: 4 kB / 0.7188 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5881, allocations: 0 / 0.7188 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5881, allocations: 0 / 0.7188 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5894, allocations: 0.7453 MB / 0.7195 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5894, allocations: 0 / 0.7195 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.5901, allocations: 43.97 kB / 0.7196 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5901, allocations: 0 / 0.7196 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.5901, allocations: 11.98 kB / 0.7196 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5901, allocations: 0 / 0.7196 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5901, allocations: 7.922 kB / 0.7196 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.5908, allocations: 355.3 kB / 0.7199 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.5909, allocations: 23.91 kB / 0.7199 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.5909, allocations: 12 kB / 0.72 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.5915, allocations: 7.984 kB / 0.72 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.5915, allocations: 23.91 kB / 0.72 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.5915, allocations: 4 kB / 0.72 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.5916, allocations: 83.27 kB / 0.7201 GB, free: 0.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5916, allocations: 0 / 0.7201 GB, free: 0.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004827/0.5921, allocations: 107.7 kB / 0.7202 GB, free: 0.6016 MB / 0.545 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.0004576/0.5925, allocations: 218.8 kB / 0.7204 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.5931, allocations: 201.9 kB / 0.7206 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5931, allocations: 4.125 kB / 0.7206 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.5933, allocations: 115.8 kB / 0.7207 GB, free: 68 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.5938, allocations: 31.89 kB / 0.7207 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.5945, allocations: 260.5 kB / 0.721 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5948, allocations: 0.6965 MB / 0.7216 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.5951, allocations: 69.02 kB / 0.7217 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.5953, allocations: 31.39 kB / 0.7217 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5953, allocations: 4 kB / 0.7217 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.01193/0.6073, allocations: 6.4 MB / 0.728 GB, free: 8.527 MB / 0.5606 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: 6.204331321874633]