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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 113.8 kB / 19.69 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 185.7 kB / 22.97 MB, free: 4.93 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.727/1.727, allocations: 207.6 MB / 233.7 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] 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.2452/0.2452, allocations: 44.24 MB / 330.2 MB, free: 9.562 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 72.45 kB / 467.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1433, allocations: 61.04 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4455/0.5888, allocations: 153.6 MB / 0.6666 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.5943, allocations: 3.68 MB / 0.6702 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.5943, allocations: 4 kB / 0.6702 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.5945, allocations: 31.8 kB / 0.6702 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.5945, allocations: 31.72 kB / 0.6703 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.5961, allocations: 445.5 kB / 0.6707 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.5963, allocations: 75.53 kB / 0.6708 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.5963, allocations: 3.984 kB / 0.6708 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.5964, allocations: 35.86 kB / 0.6708 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.5965, allocations: 23.92 kB / 0.6708 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.5965, allocations: 0 / 0.6708 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5977, allocations: 0.5182 MB / 0.6713 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.5978, allocations: 11.92 kB / 0.6713 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.5978, allocations: 23.94 kB / 0.6714 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.5984, allocations: 313.9 kB / 0.6717 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5984, allocations: 3.938 kB / 0.6717 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5984, allocations: 4 kB / 0.6717 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5984, allocations: 0 / 0.6717 GB, free: 4.719 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.0006532/0.5991, allocations: 337.6 kB / 0.672 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5991, allocations: 8.031 kB / 0.672 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.5991, allocations: 8.891 kB / 0.672 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5993, allocations: 109.9 kB / 0.6721 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5993, allocations: 4 kB / 0.6721 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.5993, allocations: 8 kB / 0.6721 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5995, allocations: 73.67 kB / 0.6722 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5995, allocations: 3.938 kB / 0.6722 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5995, allocations: 4.625 kB / 0.6722 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5995, allocations: 0 / 0.6722 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.5996, allocations: 51.95 kB / 0.6723 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.6001, allocations: 348.9 kB / 0.6726 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.6002, allocations: 68.06 kB / 0.6727 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.6003, allocations: 24.84 kB / 0.6727 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.6017, allocations: 263.7 kB / 0.6729 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6017, allocations: 30.56 kB / 0.673 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.825e-06/0.6017, allocations: 7.984 kB / 0.673 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006838/0.6085, allocations: 0.669 MB / 0.6736 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.6086, allocations: 55.41 kB / 0.6737 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.6087, allocations: 110.7 kB / 0.6738 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.6087, allocations: 29.64 kB / 0.6738 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.6088, allocations: 96.3 kB / 0.6739 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.6089, allocations: 47.59 kB / 0.6739 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.609, allocations: 42.23 kB / 0.674 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6092, allocations: 314.8 kB / 0.6743 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.6094, allocations: 79.94 kB / 0.6744 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.6096, allocations: 115.8 kB / 0.6745 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.6101, allocations: 207.1 kB / 0.6747 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6101, allocations: 0 / 0.6747 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005803/0.6107, allocations: 245.5 kB / 0.6749 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6107, allocations: 12.05 kB / 0.6749 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6107, allocations: 4 kB / 0.6749 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.6107, allocations: 0 / 0.6749 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.6114, allocations: 47.95 kB / 0.675 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6114, allocations: 0 / 0.675 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.6119, allocations: 19.98 kB / 0.675 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.612, allocations: 15.92 kB / 0.675 GB, free: 1.098 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.0001328/0.6121, allocations: 113.8 kB / 0.6751 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.6122, allocations: 19.89 kB / 0.6751 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.613, allocations: 337.4 kB / 0.6754 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.613, allocations: 4.812 kB / 0.6754 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.613, allocations: 0 / 0.6754 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.613, allocations: 4 kB / 0.6755 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.6143, allocations: 0.7326 MB / 0.6762 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6143, allocations: 3.938 kB / 0.6762 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.615, allocations: 39.97 kB / 0.6762 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.615, allocations: 0.875 kB / 0.6762 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.615, allocations: 11.98 kB / 0.6762 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.615, allocations: 0 / 0.6762 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.615, allocations: 0 / 0.6762 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.6157, allocations: 370.7 kB / 0.6766 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.6157, allocations: 27.84 kB / 0.6766 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.6158, allocations: 4 kB / 0.6766 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.6163, allocations: 12.48 kB / 0.6766 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.6164, allocations: 19.91 kB / 0.6766 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.6164, allocations: 8 kB / 0.6766 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.6165, allocations: 88.64 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6165, allocations: 4 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004673/0.6169, allocations: 99.8 kB / 0.6768 GB, free: 15.1 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.0004415/0.6174, allocations: 218.9 kB / 0.677 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.6179, allocations: 207.8 kB / 0.6772 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6179, allocations: 0 / 0.6772 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.6182, allocations: 107.9 kB / 0.6773 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.6186, allocations: 35.83 kB / 0.6774 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.6193, allocations: 257.1 kB / 0.6776 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.6196, allocations: 0.6931 MB / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.62, allocations: 64.84 kB / 0.6784 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.6202, allocations: 35.38 kB / 0.6784 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.6202, allocations: 0 / 0.6784 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.01182/0.632, allocations: 6.424 MB / 0.6847 GB, free: 7.027 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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: 6.043041684664786]