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.001397/0.001397, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001508/0.001508, allocations: 167.3 kB / 24.91 MB, free: 8.766 MB / 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.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.383 MB / 186.7 MB " [Timeout remaining time 179] 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.2563/0.2563, allocations: 34.88 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] 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 5.37e-06/5.37e-06, allocations: 3.984 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/2.346e-05, allocations: 4.281 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3372/0.3372, allocations: 146.8 MB / 472.8 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3383, allocations: 1.19 MB / 474 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.3384, allocations: 0 / 474 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3386, allocations: 36.55 kB / 474 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.3386, allocations: 34.45 kB / 474.1 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3398, allocations: 428.5 kB / 474.5 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.34, allocations: 79.66 kB / 474.5 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.34, allocations: 10.64 kB / 474.6 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.3401, allocations: 42.72 kB / 474.6 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.3402, allocations: 19.77 kB / 474.6 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.3402, allocations: 3.469 kB / 474.6 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.3411, allocations: 498.6 kB / 475.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3411, allocations: 3.938 kB / 475.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.3411, allocations: 20.45 kB / 475.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.3416, allocations: 336.7 kB / 475.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3416, allocations: 3.625 kB / 475.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3416, allocations: 2.281 kB / 475.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3416, allocations: 0 / 475.5 MB, free: 16.12 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.0004149/0.342, allocations: 313.2 kB / 475.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3421, allocations: 7.656 kB / 475.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.3421, allocations: 11.38 kB / 475.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.888e-05/0.3421, allocations: 118 kB / 475.9 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3422, allocations: 2.75 kB / 475.9 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3422, allocations: 14.28 kB / 475.9 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.3423, allocations: 60.7 kB / 476 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3423, allocations: 2.656 kB / 476 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3423, allocations: 7.234 kB / 476 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3423, allocations: 0 / 476 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.3423, allocations: 22.83 kB / 476 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.3426, allocations: 195.7 kB / 476.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.3426, allocations: 55.11 kB / 476.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3426, allocations: 12.97 kB / 476.3 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.3433, allocations: 268.6 kB / 476.5 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3433, allocations: 36.78 kB / 476.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3433, allocations: 1.203 kB / 476.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002697/0.346, allocations: 0.5953 MB / 477.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.346, allocations: 60.86 kB / 477.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.346, allocations: 109.8 kB / 477.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3461, allocations: 28.95 kB / 477.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.3461, allocations: 90.69 kB / 477.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3461, allocations: 49.11 kB / 477.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.3462, allocations: 40.41 kB / 477.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.3462, allocations: 320.8 kB / 477.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.3463, allocations: 67.64 kB / 477.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.3464, allocations: 98.19 kB / 478 MB, free: 14.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.3465, allocations: 182.3 kB / 478.2 MB, free: 14.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3465, allocations: 0 / 478.2 MB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002089/0.3467, allocations: 205.4 kB / 478.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3468, allocations: 8.406 kB / 478.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3468, allocations: 2.578 kB / 478.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3468, allocations: 3.984 kB / 478.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3471, allocations: 59.44 kB / 478.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.3471, allocations: 0 / 478.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3473, allocations: 18 kB / 478.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.3473, allocations: 10.33 kB / 478.5 MB, free: 14.62 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 7.654e-05/0.3474, allocations: 124.3 kB / 478.6 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3474, allocations: 8.484 kB / 478.6 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.3478, allocations: 285.8 kB / 478.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3478, allocations: 0 / 478.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3478, allocations: 6.781 kB / 478.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3478, allocations: 0 / 478.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.3482, allocations: 421.5 kB / 479.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3482, allocations: 0 / 479.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.3485, allocations: 48.58 kB / 479.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3485, allocations: 6.875 kB / 479.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3485, allocations: 4.688 kB / 479.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3485, allocations: 6.75 kB / 479.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3485, allocations: 0 / 479.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3487, allocations: 294.5 kB / 479.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3488, allocations: 22.19 kB / 479.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3488, allocations: 10.25 kB / 479.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.349, allocations: 8.156 kB / 479.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.349, allocations: 16.95 kB / 479.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3491, allocations: 6.109 kB / 479.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.246e-05/0.3491, allocations: 14.66 kB / 479.8 MB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3491, allocations: 0 / 479.8 MB, free: 14.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.3494, allocations: 107.7 kB / 479.9 MB, free: 14.09 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.0003162/0.3497, allocations: 226.9 kB / 480.1 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3499, allocations: 187.1 kB / 480.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3499, allocations: 0 / 480.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.35, allocations: 112.8 kB / 480.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3502, allocations: 35.19 kB / 480.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.3508, allocations: 251.3 kB / 480.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.3508, allocations: 62.48 kB / 480.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.351, allocations: 70.47 kB / 480.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.3513, allocations: 92.66 kB / 480.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3513, allocations: 0 / 480.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of Templates: time 0.008353/0.3596, allocations: 7.442 MB / 488.3 MB, free: 12.42 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.423572496045381]