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.001601/0.001601, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001942/0.001942, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.577/1.577, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3638/0.3638, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 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 2.284e-06/2.284e-06, allocations: 3.938 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.457e-05, allocations: 8.781 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3514/0.3515, allocations: 133.3 MB / 0.4985 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3528, allocations: 1.066 MB / 0.4996 GB, free: 22.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.3529, allocations: 4 kB / 0.4996 GB, free: 22.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3531, allocations: 29.73 kB / 0.4996 GB, free: 22.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.3531, allocations: 22.88 kB / 0.4996 GB, free: 22.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3545, allocations: 447.8 kB / 0.5001 GB, free: 22.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.3546, allocations: 72.52 kB / 0.5001 GB, free: 22.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.3546, allocations: 3.594 kB / 0.5001 GB, free: 22.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3547, allocations: 51.5 kB / 0.5002 GB, free: 22.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.3548, allocations: 15.05 kB / 0.5002 GB, free: 22.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3548, allocations: 2.188 kB / 0.5002 GB, free: 22.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3559, allocations: 477.5 kB / 0.5006 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.3559, allocations: 7.656 kB / 0.5007 GB, free: 22.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.3559, allocations: 22.88 kB / 0.5007 GB, free: 22.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.3565, allocations: 330.9 kB / 0.501 GB, free: 22.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3565, allocations: 0 / 0.501 GB, free: 22.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3565, allocations: 5.094 kB / 0.501 GB, free: 22.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3565, allocations: 0 / 0.501 GB, free: 22.29 MB / 410.7 MB 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.0005095/0.357, allocations: 337.2 kB / 0.5013 GB, free: 21.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.357, allocations: 13.56 kB / 0.5013 GB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.3571, allocations: 12.81 kB / 0.5013 GB, free: 21.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.3572, allocations: 108.7 kB / 0.5014 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3572, allocations: 6.688 kB / 0.5015 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3572, allocations: 4.484 kB / 0.5015 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3574, allocations: 76.31 kB / 0.5015 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3574, allocations: 0 / 0.5015 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3574, allocations: 1.828 kB / 0.5015 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3574, allocations: 4.312 kB / 0.5015 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.3575, allocations: 52.84 kB / 0.5016 GB, free: 21.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.3578, allocations: 250.7 kB / 0.5018 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3579, allocations: 71.55 kB / 0.5019 GB, free: 21.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.358, allocations: 19.73 kB / 0.5019 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.3593, allocations: 253 kB / 0.5022 GB, free: 21.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3594, allocations: 32.56 kB / 0.5022 GB, free: 21.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.3594, allocations: 0 / 0.5022 GB, free: 21.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.006821/0.3662, allocations: 0.6699 MB / 0.5028 GB, free: 21.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.3662, allocations: 57.81 kB / 0.5029 GB, free: 21.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.3663, allocations: 102.8 kB / 0.503 GB, free: 21.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3663, allocations: 31.08 kB / 0.503 GB, free: 21.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.3663, allocations: 91.08 kB / 0.5031 GB, free: 20.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3664, allocations: 48.97 kB / 0.5032 GB, free: 20.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3665, allocations: 46.89 kB / 0.5032 GB, free: 20.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.3665, allocations: 319.5 kB / 0.5035 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.3667, allocations: 82.89 kB / 0.5036 GB, free: 20.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3669, allocations: 110 kB / 0.5037 GB, free: 20.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.3674, allocations: 192.5 kB / 0.5039 GB, free: 20.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3674, allocations: 0 / 0.5039 GB, free: 20.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005747/0.368, allocations: 261.7 kB / 0.5041 GB, free: 20.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.368, allocations: 10.39 kB / 0.5041 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.368, allocations: 3.938 kB / 0.5041 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.368, allocations: 2.125 kB / 0.5041 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.3687, allocations: 53.2 kB / 0.5042 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3687, allocations: 1.875 kB / 0.5042 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.3692, allocations: 17.03 kB / 0.5042 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.3692, allocations: 13.17 kB / 0.5042 GB, free: 20.25 MB / 410.7 MB 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 9.041e-05/0.3693, allocations: 121.4 kB / 0.5043 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.3694, allocations: 6.438 kB / 0.5043 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.3702, allocations: 348 kB / 0.5047 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3702, allocations: 4.266 kB / 0.5047 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3702, allocations: 0 / 0.5047 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3702, allocations: 2.062 kB / 0.5047 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.3712, allocations: 0.6813 MB / 0.5053 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3712, allocations: 0.7031 kB / 0.5053 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.3718, allocations: 46.66 kB / 0.5054 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3718, allocations: 0 / 0.5054 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.3719, allocations: 10.5 kB / 0.5054 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3719, allocations: 1.969 kB / 0.5054 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3719, allocations: 0.5625 kB / 0.5054 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.3724, allocations: 360.4 kB / 0.5057 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.3725, allocations: 29.53 kB / 0.5058 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.3726, allocations: 5.406 kB / 0.5058 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.3731, allocations: 13.08 kB / 0.5058 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3732, allocations: 17.31 kB / 0.5058 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3732, allocations: 8.891 kB / 0.5058 GB, free: 19.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.3732, allocations: 88.75 kB / 0.5059 GB, free: 19.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3732, allocations: 0 / 0.5059 GB, free: 19.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005016/0.3737, allocations: 103.1 kB / 0.506 GB, free: 19.07 MB / 410.7 MB 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.0004303/0.3742, allocations: 228.6 kB / 0.5062 GB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.3747, allocations: 201.5 kB / 0.5064 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3747, allocations: 1.281 kB / 0.5064 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.3749, allocations: 112.7 kB / 0.5065 GB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.3754, allocations: 46.67 kB / 0.5066 GB, free: 18.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.376, allocations: 246.9 kB / 0.5068 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.026e-05/0.376, allocations: 78.3 kB / 0.5069 GB, free: 18.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.3763, allocations: 68.83 kB / 0.5069 GB, free: 18.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.3766, allocations: 43.16 kB / 0.507 GB, free: 18.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3766, allocations: 1.625 kB / 0.507 GB, free: 18.54 MB / 410.7 MB Notification: Performance of Templates: time 0.00968/0.3862, allocations: 6.747 MB / 0.5136 GB, free: 17.83 MB / 410.7 MB " [Timeout remaining time 660] 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.532357792952098]