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.00193/0.00193, allocations: 82.38 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001644/0.001644, allocations: 157.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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.53/1.53, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 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.2438/0.2438, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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 1.583e-06/1.583e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.232e-05, allocations: 6.219 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3339/0.334, allocations: 133.3 MB / 0.5624 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3357, allocations: 1.076 MB / 0.5635 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.3358, allocations: 0 / 0.5635 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.336, allocations: 23.84 kB / 0.5635 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.336, allocations: 35.64 kB / 0.5635 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3374, allocations: 436.5 kB / 0.564 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.3376, allocations: 75.47 kB / 0.564 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.3376, allocations: 3.938 kB / 0.564 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3377, allocations: 47.89 kB / 0.5641 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.3378, allocations: 27.91 kB / 0.5641 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3378, allocations: 0 / 0.5641 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.339, allocations: 470.5 kB / 0.5646 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3391, allocations: 7.984 kB / 0.5646 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3391, allocations: 19.94 kB / 0.5646 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.3398, allocations: 343.8 kB / 0.5649 GB, free: 13.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3398, allocations: 0 / 0.5649 GB, free: 13.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3398, allocations: 0 / 0.5649 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3398, allocations: 4 kB / 0.5649 GB, free: 13.98 MB / 478.1 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.0006217/0.3404, allocations: 329.7 kB / 0.5652 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3404, allocations: 12.03 kB / 0.5652 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.3405, allocations: 9.266 kB / 0.5652 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3406, allocations: 113.1 kB / 0.5654 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3406, allocations: 9.406 kB / 0.5654 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3406, allocations: 7.953 kB / 0.5654 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3408, allocations: 73.17 kB / 0.5654 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3408, allocations: 0 / 0.5654 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3408, allocations: 11.94 kB / 0.5655 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3408, allocations: 0 / 0.5655 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.3409, allocations: 55.95 kB / 0.5655 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.3413, allocations: 252.4 kB / 0.5657 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3415, allocations: 60.14 kB / 0.5658 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.3415, allocations: 20.84 kB / 0.5658 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.343, allocations: 252.2 kB / 0.5661 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.343, allocations: 40.25 kB / 0.5661 GB, free: 12.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.343, allocations: 0 / 0.5661 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.007347/0.3504, allocations: 0.6573 MB / 0.5667 GB, free: 11.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.3504, allocations: 55.41 kB / 0.5668 GB, free: 11.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3506, allocations: 103.7 kB / 0.5669 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.3506, allocations: 29.7 kB / 0.5669 GB, free: 11.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.3507, allocations: 92.88 kB / 0.567 GB, free: 11.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.3507, allocations: 51.58 kB / 0.5671 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3509, allocations: 49.67 kB / 0.5671 GB, free: 11.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.351, allocations: 318.8 kB / 0.5674 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3512, allocations: 75.95 kB / 0.5675 GB, free: 11.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3515, allocations: 114.4 kB / 0.5676 GB, free: 11.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.352, allocations: 198.4 kB / 0.5678 GB, free: 10.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.352, allocations: 0 / 0.5678 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006609/0.3527, allocations: 249.5 kB / 0.568 GB, free: 10.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3527, allocations: 8 kB / 0.568 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3527, allocations: 3.938 kB / 0.568 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3527, allocations: 0 / 0.568 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.3534, allocations: 59.88 kB / 0.5681 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3535, allocations: 0 / 0.5681 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.354, allocations: 12 kB / 0.5681 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3541, allocations: 19.97 kB / 0.5681 GB, free: 10.51 MB / 478.1 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.0001391/0.3542, allocations: 121.8 kB / 0.5682 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.3543, allocations: 7.953 kB / 0.5682 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/0.3552, allocations: 339.5 kB / 0.5686 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3552, allocations: 7.984 kB / 0.5686 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3552, allocations: 3.984 kB / 0.5686 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3552, allocations: 4 kB / 0.5686 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3564, allocations: 0.6704 MB / 0.5692 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3564, allocations: 0 / 0.5692 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.3571, allocations: 51.89 kB / 0.5693 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3571, allocations: 0 / 0.5693 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3571, allocations: 8 kB / 0.5693 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3571, allocations: 0 / 0.5693 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3571, allocations: 0 / 0.5693 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.3578, allocations: 366.7 kB / 0.5696 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.3579, allocations: 23.86 kB / 0.5697 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.3579, allocations: 4.859 kB / 0.5697 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.3585, allocations: 12 kB / 0.5697 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.3586, allocations: 15.91 kB / 0.5697 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.3586, allocations: 15.98 kB / 0.5697 GB, free: 8.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.3587, allocations: 80.16 kB / 0.5698 GB, free: 8.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3587, allocations: 0 / 0.5698 GB, free: 8.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.3591, allocations: 103.7 kB / 0.5699 GB, free: 8.594 MB / 478.1 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.0004917/0.3596, allocations: 222.9 kB / 0.5701 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.3602, allocations: 206.5 kB / 0.5703 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3602, allocations: 4.125 kB / 0.5703 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.3605, allocations: 107.9 kB / 0.5704 GB, free: 8.059 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3609, allocations: 42.08 kB / 0.5704 GB, free: 8.023 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.3615, allocations: 254.1 kB / 0.5707 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.213e-05/0.3616, allocations: 87.31 kB / 0.5708 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.3619, allocations: 68.81 kB / 0.5708 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.3622, allocations: 28.47 kB / 0.5709 GB, free: 7.551 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3622, allocations: 0 / 0.5709 GB, free: 7.551 MB / 478.1 MB Notification: Performance of Templates: time 0.01249/0.3747, allocations: 6.697 MB / 0.5774 GB, free: 0.875 MB / 478.1 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.430019181221724]