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.000843/0.000843, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001969, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007083/0.0007083, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.001626, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9897/0.9897, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1284/1.118, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.3022/0.3022, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02887/0.331, allocations: 13.22 MB / 292.6 MB, free: 6.465 MB / 282.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 1.883e-06/1.883e-06, allocations: 0 / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.848e-05, allocations: 5.375 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.141/0.141, allocations: 147.3 MB / 441.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1422, allocations: 1.203 MB / 442.3 MB, free: 156 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.1422, allocations: 4 kB / 442.3 MB, free: 152 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1423, allocations: 27.83 kB / 442.4 MB, free: 124 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.081e-05/0.1423, allocations: 27.72 kB / 442.4 MB, free: 96 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2004/0.3427, allocations: 424.3 kB / 442.8 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3429, allocations: 73.89 kB / 442.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.3429, allocations: 7.594 kB / 442.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3431, allocations: 45.3 kB / 442.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.3431, allocations: 20.61 kB / 442.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3432, allocations: 2.375 kB / 442.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3442, allocations: 498.6 kB / 443.4 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3442, allocations: 6.703 kB / 443.4 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3443, allocations: 16.72 kB / 443.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.3448, allocations: 303.8 kB / 443.7 MB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.3448, allocations: 0 / 443.7 MB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3448, allocations: 0 / 443.7 MB, free: 3.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3448, allocations: 0 / 443.7 MB, free: 3.926 MB / 426.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.0008338/0.3456, allocations: 426 kB / 444.2 MB, free: 19.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3457, allocations: 8.75 kB / 444.2 MB, free: 19.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3457, allocations: 16.45 kB / 444.2 MB, free: 19.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.3458, allocations: 111.6 kB / 444.3 MB, free: 19.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3458, allocations: 2.781 kB / 444.3 MB, free: 19.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3458, allocations: 18.75 kB / 444.3 MB, free: 19.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.985e-05/0.3459, allocations: 52.81 kB / 444.4 MB, free: 19.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3459, allocations: 6.203 kB / 444.4 MB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.3459, allocations: 6.438 kB / 444.4 MB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3459, allocations: 0.5625 kB / 444.4 MB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.346, allocations: 21 kB / 444.4 MB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3463, allocations: 204.4 kB / 444.6 MB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.3464, allocations: 45.55 kB / 444.6 MB, free: 19.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.3464, allocations: 13.22 kB / 444.7 MB, free: 19.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.3471, allocations: 265.6 kB / 444.9 MB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3471, allocations: 34.86 kB / 445 MB, free: 19.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.3471, allocations: 1.75 kB / 445 MB, free: 19.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.002667/0.3498, allocations: 0.6015 MB / 445.6 MB, free: 19.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3498, allocations: 54.25 kB / 445.6 MB, free: 19.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.3498, allocations: 110.7 kB / 445.7 MB, free: 18.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3499, allocations: 25.7 kB / 445.7 MB, free: 18.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3499, allocations: 94.3 kB / 445.8 MB, free: 18.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3499, allocations: 54.58 kB / 445.9 MB, free: 18.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.35, allocations: 47.16 kB / 445.9 MB, free: 18.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.3501, allocations: 319.8 kB / 446.2 MB, free: 18.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.3501, allocations: 71.53 kB / 446.3 MB, free: 18.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3502, allocations: 91.62 kB / 446.4 MB, free: 18.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3504, allocations: 180.7 kB / 446.6 MB, free: 18.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3504, allocations: 1 kB / 446.6 MB, free: 18.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002102/0.3506, allocations: 205.5 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3506, allocations: 5.562 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3506, allocations: 4.484 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3506, allocations: 1.969 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.351, allocations: 69.62 kB / 446.9 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.351, allocations: 2.141 kB / 446.9 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3511, allocations: 17.19 kB / 446.9 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3512, allocations: 9.75 kB / 446.9 MB, free: 18.36 MB / 442.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 0.0003546/0.3515, allocations: 120.2 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3516, allocations: 11.5 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3519, allocations: 288.1 kB / 447.3 MB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3519, allocations: 2 kB / 447.3 MB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3519, allocations: 2.938 kB / 447.3 MB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3519, allocations: 1.203 kB / 447.3 MB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3523, allocations: 422.8 kB / 447.7 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3523, allocations: 0 / 447.7 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3526, allocations: 54.41 kB / 447.8 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.3527, allocations: 17.95 kB / 447.8 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3527, allocations: 2.906 kB / 447.8 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3527, allocations: 7.719 kB / 447.8 MB, free: 18.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3527, allocations: 3.609 kB / 447.8 MB, free: 18.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3527, allocations: 2.203 kB / 447.8 MB, free: 18.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3529, allocations: 302.1 kB / 448.1 MB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.3529, allocations: 6.391 kB / 448.1 MB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3531, allocations: 15.95 kB / 448.1 MB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3532, allocations: 14.34 kB / 448.1 MB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3532, allocations: 9.406 kB / 448.1 MB, free: 17.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.303e-05/0.3532, allocations: 13.19 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3532, allocations: 0.7188 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.3535, allocations: 105.6 kB / 448.3 MB, free: 17.85 MB / 442.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.000325/0.3538, allocations: 228.4 kB / 448.5 MB, free: 17.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3541, allocations: 188 kB / 448.7 MB, free: 17.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.3541, allocations: 4 kB / 448.7 MB, free: 17.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.3542, allocations: 112.9 kB / 448.8 MB, free: 17.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3544, allocations: 48.81 kB / 448.8 MB, free: 17.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3558, allocations: 252.4 kB / 449.1 MB, free: 17.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.3558, allocations: 63.89 kB / 449.1 MB, free: 17.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.3561, allocations: 69.53 kB / 449.2 MB, free: 17.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.3563, allocations: 85.89 kB / 449.3 MB, free: 17.46 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3563, allocations: 0 / 449.3 MB, free: 17.46 MB / 442.7 MB Notification: Performance of Templates: time 0.008772/0.3651, allocations: 7.497 MB / 456.8 MB, free: 16.95 MB / 442.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 -emit_protected -ignoreHideResult -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.3259083945304155]