Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002381/0.002381, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.671/1.671, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 79.88 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3536, allocations: 66.1 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1822/0.5358, allocations: 133.3 MB / 0.6913 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.5375, allocations: 1.074 MB / 0.6924 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.5375, allocations: 0 / 0.6924 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.5377, allocations: 35.81 kB / 0.6924 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.5377, allocations: 31.72 kB / 0.6924 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.5391, allocations: 425.7 kB / 0.6928 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5392, allocations: 67.61 kB / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.5393, allocations: 7.984 kB / 0.6929 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.5394, allocations: 39.84 kB / 0.6929 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.5394, allocations: 27.86 kB / 0.693 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.5394, allocations: 0 / 0.693 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5407, allocations: 462.8 kB / 0.6934 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.5407, allocations: 11.98 kB / 0.6934 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.5407, allocations: 19.92 kB / 0.6934 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.5415, allocations: 309.7 kB / 0.6937 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5415, allocations: 4 kB / 0.6937 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5415, allocations: 0 / 0.6937 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5415, allocations: 0 / 0.6937 GB, free: 11.69 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.0007228/0.5422, allocations: 333.6 kB / 0.6941 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5422, allocations: 8.031 kB / 0.6941 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.5423, allocations: 4.938 kB / 0.6941 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.5424, allocations: 117.1 kB / 0.6942 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5424, allocations: 4 kB / 0.6942 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.5424, allocations: 11.92 kB / 0.6942 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5426, allocations: 73.17 kB / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5426, allocations: 0 / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5426, allocations: 4 kB / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.5426, allocations: 4 kB / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.5427, allocations: 47.97 kB / 0.6943 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.5431, allocations: 252.4 kB / 0.6946 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.5433, allocations: 62.5 kB / 0.6946 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.5433, allocations: 24.78 kB / 0.6946 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.5447, allocations: 251.8 kB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5448, allocations: 38.56 kB / 0.6949 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.5448, allocations: 0 / 0.6949 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.00707/0.5518, allocations: 0.6611 MB / 0.6956 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5519, allocations: 51.41 kB / 0.6956 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.552, allocations: 105.8 kB / 0.6957 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.552, allocations: 25.7 kB / 0.6957 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.5521, allocations: 104.2 kB / 0.6958 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.5522, allocations: 51.56 kB / 0.6959 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.5523, allocations: 41.67 kB / 0.6959 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5524, allocations: 318.8 kB / 0.6962 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.5527, allocations: 79.94 kB / 0.6963 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5529, allocations: 102.5 kB / 0.6964 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.5534, allocations: 202.5 kB / 0.6966 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5534, allocations: 4 kB / 0.6966 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006226/0.554, allocations: 253.4 kB / 0.6968 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.554, allocations: 4 kB / 0.6968 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.554, allocations: 0 / 0.6968 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.554, allocations: 4 kB / 0.6968 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.5548, allocations: 51.88 kB / 0.6969 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5548, allocations: 4 kB / 0.6969 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.5553, allocations: 16 kB / 0.6969 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.5554, allocations: 16.05 kB / 0.6969 GB, free: 8.227 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.0001315/0.5555, allocations: 117.8 kB / 0.697 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.5556, allocations: 11.95 kB / 0.6971 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.5564, allocations: 348.5 kB / 0.6974 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5564, allocations: 4 kB / 0.6974 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5564, allocations: 0 / 0.6974 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5564, allocations: 0 / 0.6974 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.5576, allocations: 0.6926 MB / 0.6981 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5576, allocations: 0 / 0.6981 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.5583, allocations: 39.97 kB / 0.6981 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5583, allocations: 0 / 0.6981 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.5583, allocations: 11.98 kB / 0.6981 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5583, allocations: 0 / 0.6981 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5583, allocations: 256 / 0.6981 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.559, allocations: 359.2 kB / 0.6985 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5591, allocations: 27.91 kB / 0.6985 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.5591, allocations: 11.94 kB / 0.6985 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.5597, allocations: 15.98 kB / 0.6985 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.5598, allocations: 11.97 kB / 0.6985 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.5598, allocations: 8 kB / 0.6985 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.5598, allocations: 91.2 kB / 0.6986 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5598, allocations: 0 / 0.6986 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004971/0.5603, allocations: 103.7 kB / 0.6987 GB, free: 6.289 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.0005223/0.5609, allocations: 226.8 kB / 0.6989 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.5614, allocations: 206.4 kB / 0.6991 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5614, allocations: 0 / 0.6991 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.5617, allocations: 115.8 kB / 0.6992 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.5622, allocations: 27.97 kB / 0.6993 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.5628, allocations: 247.9 kB / 0.6995 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.5629, allocations: 83.5 kB / 0.6996 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.5632, allocations: 64.83 kB / 0.6996 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.5634, allocations: 39.39 kB / 0.6997 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.5634, allocations: 4 kB / 0.6997 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.01337/0.5768, allocations: 6.831 MB / 0.7064 GB, free: 14.43 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.830084467306733]