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.0007852/0.0007852, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001904, allocations: 457.8 kB / 10.45 MB, free: 240 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.0007248/0.0007248, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001737, allocations: 475.6 kB / 11.82 MB, free: 2.344 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 1.064/1.064, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.169, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2667/0.2667, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02799/0.2947, allocations: 13.24 MB / 292.8 MB, free: 6.391 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.603e-06/1.603e-06, allocations: 0 / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.452e-05, allocations: 3.516 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1459/0.1459, allocations: 147.3 MB / 441.4 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1469, allocations: 1.207 MB / 442.6 MB, free: 44 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.147, allocations: 0 / 442.6 MB, free: 44 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.1471, allocations: 35.75 kB / 442.6 MB, free: 8 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1584/0.3055, allocations: 24.83 kB / 442.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3067, allocations: 420.8 kB / 443 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3068, allocations: 77.8 kB / 443.1 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.3068, allocations: 8.688 kB / 443.1 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3069, allocations: 50.11 kB / 443.2 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.307, allocations: 20.05 kB / 443.2 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.307, allocations: 1.719 kB / 443.2 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008379/0.3078, allocations: 491.6 kB / 443.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3079, allocations: 5.297 kB / 443.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.3079, allocations: 18.64 kB / 443.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3082, allocations: 298.6 kB / 444 MB, free: 3.805 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.3082, allocations: 0.5625 kB / 444 MB, free: 3.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3083, allocations: 7.062 kB / 444 MB, free: 3.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3083, allocations: 0 / 444 MB, free: 3.805 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.0005592/0.3088, allocations: 430.5 kB / 444.4 MB, free: 19.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.3088, allocations: 11.31 kB / 444.4 MB, free: 19.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.3089, allocations: 9.75 kB / 444.4 MB, free: 19.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.309, allocations: 105.9 kB / 444.5 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.309, allocations: 7.375 kB / 444.5 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.309, allocations: 10.94 kB / 444.6 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.3091, allocations: 60.09 kB / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3091, allocations: 3.953 kB / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.3091, allocations: 6.812 kB / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3091, allocations: 0 / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.3091, allocations: 22.09 kB / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.3093, allocations: 202.3 kB / 444.8 MB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.3094, allocations: 52.69 kB / 444.9 MB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.3094, allocations: 13.36 kB / 444.9 MB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.31, allocations: 254.7 kB / 445.2 MB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.31, allocations: 39.75 kB / 445.2 MB, free: 19.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.31, allocations: 0 / 445.2 MB, free: 19.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.00308/0.3131, allocations: 0.7619 MB / 446 MB, free: 18.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3131, allocations: 51.41 kB / 446 MB, free: 18.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.3132, allocations: 112.7 kB / 446.1 MB, free: 18.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3132, allocations: 32.67 kB / 446.1 MB, free: 18.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.3132, allocations: 87.09 kB / 446.2 MB, free: 18.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3132, allocations: 58.44 kB / 446.3 MB, free: 18.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.3133, allocations: 35.5 kB / 446.3 MB, free: 18.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.3134, allocations: 324.4 kB / 446.6 MB, free: 18.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.3134, allocations: 70.66 kB / 446.7 MB, free: 18.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.3135, allocations: 97.33 kB / 446.8 MB, free: 18.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3137, allocations: 184.8 kB / 447 MB, free: 18.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3137, allocations: 0.9688 kB / 447 MB, free: 18.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001748/0.3138, allocations: 201.2 kB / 447.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3138, allocations: 10.08 kB / 447.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3139, allocations: 3.844 kB / 447.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3139, allocations: 1.172 kB / 447.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.3142, allocations: 70.02 kB / 447.3 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.3142, allocations: 0 / 447.3 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3143, allocations: 16.8 kB / 447.3 MB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3144, allocations: 16.12 kB / 447.3 MB, free: 18.23 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 7.687e-05/0.3145, allocations: 114 kB / 447.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3145, allocations: 10.19 kB / 447.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3148, allocations: 289.9 kB / 447.7 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3148, allocations: 4.516 kB / 447.7 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.3148, allocations: 0 / 447.7 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3148, allocations: 1.172 kB / 447.7 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.3152, allocations: 419.9 kB / 448.1 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3152, allocations: 5.312 kB / 448.1 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3155, allocations: 50.78 kB / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3155, allocations: 18.94 kB / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3155, allocations: 0 / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3155, allocations: 13.34 kB / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3155, allocations: 256 / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3155, allocations: 1.438 kB / 448.2 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3157, allocations: 312 kB / 448.5 MB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3158, allocations: 4.875 kB / 448.5 MB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.316, allocations: 15.7 kB / 448.5 MB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.316, allocations: 14.55 kB / 448.5 MB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.316, allocations: 10.09 kB / 448.6 MB, free: 17.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.3e-05/0.316, allocations: 12.44 kB / 448.6 MB, free: 17.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.316, allocations: 0.9688 kB / 448.6 MB, free: 17.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.3163, allocations: 102.5 kB / 448.7 MB, free: 17.72 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.0002958/0.3166, allocations: 223.1 kB / 448.9 MB, free: 17.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3168, allocations: 191.9 kB / 449.1 MB, free: 17.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3168, allocations: 2.125 kB / 449.1 MB, free: 17.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.3169, allocations: 122.2 kB / 449.2 MB, free: 17.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3171, allocations: 107.6 kB / 449.3 MB, free: 17.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3184, allocations: 243.7 kB / 449.5 MB, free: 17.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.3185, allocations: 67.23 kB / 449.6 MB, free: 17.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3187, allocations: 64.14 kB / 449.7 MB, free: 17.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.3189, allocations: 90.75 kB / 449.8 MB, free: 17.28 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3189, allocations: 0 / 449.8 MB, free: 17.28 MB / 442.7 MB Notification: Performance of Templates: time 0.007228/0.3261, allocations: 6.86 MB / 456.6 MB, free: 16.86 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2552806101739407]