Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001848/0.001848, allocations: 110 kB / 21.23 MB, free: 0.6602 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.002469/0.002469, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 67.89 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4434, allocations: 64.29 MB / 0.5488 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2175/0.6609, allocations: 152 MB / 0.6972 GB, free: 6.809 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00197/0.6629, allocations: 1.215 MB / 0.6984 GB, free: 5.59 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.663, allocations: 0 / 0.6984 GB, free: 5.59 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.6632, allocations: 35.81 kB / 0.6985 GB, free: 5.555 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.6633, allocations: 31.7 kB / 0.6985 GB, free: 5.523 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.665, allocations: 441.6 kB / 0.6989 GB, free: 5.094 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001376/0.6651, allocations: 75.58 kB / 0.699 GB, free: 5.02 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.6652, allocations: 4 kB / 0.699 GB, free: 5.016 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.6653, allocations: 31.86 kB / 0.699 GB, free: 4.984 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.6653, allocations: 27.91 kB / 0.6991 GB, free: 4.957 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.6653, allocations: 8 kB / 0.6991 GB, free: 4.949 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.6666, allocations: 0.5104 MB / 0.6996 GB, free: 4.438 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.6666, allocations: 15.92 kB / 0.6996 GB, free: 4.422 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.6667, allocations: 23.86 kB / 0.6996 GB, free: 4.398 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.6673, allocations: 317.8 kB / 0.6999 GB, free: 4.094 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6673, allocations: 0 / 0.6999 GB, free: 4.094 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 2.124e-06/0.6673, allocations: 0 / 0.6999 GB, free: 4.094 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.342e-06/0.6673, allocations: 0 / 0.6999 GB, free: 4.094 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.0006719/0.668, allocations: 337.7 kB / 0.7002 GB, free: 3.734 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.668, allocations: 12.03 kB / 0.7002 GB, free: 3.723 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.6681, allocations: 4.891 kB / 0.7002 GB, free: 3.719 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.6682, allocations: 109.2 kB / 0.7003 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6682, allocations: 4 kB / 0.7003 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.6682, allocations: 8 kB / 0.7004 GB, free: 3.574 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.6684, allocations: 73.59 kB / 0.7004 GB, free: 3.496 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6684, allocations: 3.953 kB / 0.7004 GB, free: 3.492 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6684, allocations: 4 kB / 0.7004 GB, free: 3.488 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6684, allocations: 4 kB / 0.7004 GB, free: 3.484 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.6685, allocations: 51.97 kB / 0.7005 GB, free: 3.434 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.669, allocations: 356.9 kB / 0.7008 GB, free: 3.023 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6692, allocations: 62.5 kB / 0.7009 GB, free: 2.953 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.6692, allocations: 20.84 kB / 0.7009 GB, free: 2.93 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.6708, allocations: 267.6 kB / 0.7012 GB, free: 2.668 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6708, allocations: 34.5 kB / 0.7012 GB, free: 2.625 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=9): time 3.527e-06/0.6708, allocations: 4 kB / 0.7012 GB, free: 2.621 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=14): time 0.007405/0.6782, allocations: 0.6726 MB / 0.7019 GB, free: 1.945 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.6783, allocations: 51.41 kB / 0.7019 GB, free: 1.883 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.6784, allocations: 101.9 kB / 0.702 GB, free: 1.773 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.6784, allocations: 25.7 kB / 0.702 GB, free: 1.742 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.6785, allocations: 96.3 kB / 0.7021 GB, free: 1.645 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.6785, allocations: 47.59 kB / 0.7022 GB, free: 1.598 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.6786, allocations: 41.67 kB / 0.7022 GB, free: 1.551 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001476/0.6788, allocations: 322.8 kB / 0.7025 GB, free: 1.227 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.679, allocations: 79.94 kB / 0.7026 GB, free: 1.148 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.6792, allocations: 102.5 kB / 0.7027 GB, free: 1.039 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.6797, allocations: 210.5 kB / 0.7029 GB, free: 0.8242 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6797, allocations: 0 / 0.7029 GB, free: 0.8242 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005908/0.6803, allocations: 249.5 kB / 0.7031 GB, free: 0.5742 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6803, allocations: 4 kB / 0.7031 GB, free: 0.5703 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6803, allocations: 0 / 0.7031 GB, free: 0.5703 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.6803, allocations: 4 kB / 0.7031 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.6811, allocations: 47.94 kB / 0.7032 GB, free: 0.5195 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.6811, allocations: 7.938 kB / 0.7032 GB, free: 0.5117 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.6817, allocations: 20.06 kB / 0.7032 GB, free: 0.4922 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.6817, allocations: 7.984 kB / 0.7032 GB, free: 496 kB / 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.000138/0.6819, allocations: 129.6 kB / 0.7033 GB, free: 356 kB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.6819, allocations: 7.953 kB / 0.7033 GB, free: 348 kB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.6828, allocations: 350.2 kB / 0.7037 GB, free: 15.99 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6828, allocations: 4 kB / 0.7037 GB, free: 15.99 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6828, allocations: 4 kB / 0.7037 GB, free: 15.98 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6828, allocations: 3.938 kB / 0.7037 GB, free: 15.98 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6841, allocations: 0.7379 MB / 0.7044 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6841, allocations: 0 / 0.7044 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.6848, allocations: 39.97 kB / 0.7044 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.6848, allocations: 7.984 kB / 0.7045 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.6848, allocations: 8 kB / 0.7045 GB, free: 15.1 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.6848, allocations: 0 / 0.7045 GB, free: 15.1 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6848, allocations: 3.938 kB / 0.7045 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.6855, allocations: 343.3 kB / 0.7048 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6856, allocations: 27.91 kB / 0.7048 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.6857, allocations: 4 kB / 0.7048 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.6866, allocations: 19.98 kB / 0.7048 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.6867, allocations: 15.91 kB / 0.7049 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.6867, allocations: 11.98 kB / 0.7049 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.12e-05/0.6868, allocations: 83.28 kB / 0.7049 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.6868, allocations: 0 / 0.7049 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0007162/0.6875, allocations: 103.7 kB / 0.705 GB, free: 14.48 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.000613/0.6881, allocations: 218.9 kB / 0.7053 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0008092/0.6889, allocations: 207.7 kB / 0.7055 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6889, allocations: 0 / 0.7055 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.6893, allocations: 116 kB / 0.7056 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.69, allocations: 27.91 kB / 0.7056 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/0.691, allocations: 252.4 kB / 0.7058 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.6914, allocations: 0.7042 MB / 0.7065 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0005151/0.692, allocations: 69.02 kB / 0.7066 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.6923, allocations: 35.39 kB / 0.7066 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of SimCode: time 5.01e-07/0.6923, allocations: 0 / 0.7066 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of Templates: time 0.01781/0.7101, allocations: 6.361 MB / 0.7128 GB, free: 6.449 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.142661892808974]