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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008962/0.0008963, allocations: 95.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 45.92 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002801, allocations: 8 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 63.46 MB / 481.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4363/0.5541, allocations: 126.9 MB / 0.594 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5554, allocations: 0.9993 MB / 0.595 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.5555, allocations: 3.938 kB / 0.595 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.5557, allocations: 39.78 kB / 0.595 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.5557, allocations: 35.92 kB / 0.5951 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.5568, allocations: 374.8 kB / 0.5954 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.5569, allocations: 55.84 kB / 0.5955 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.557, allocations: 4 kB / 0.5955 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.5571, allocations: 27.92 kB / 0.5955 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.5571, allocations: 27.91 kB / 0.5955 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.5572, allocations: 4 kB / 0.5956 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5582, allocations: 0.4911 MB / 0.596 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.5582, allocations: 11.98 kB / 0.596 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.5583, allocations: 33.64 kB / 0.5961 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.5586, allocations: 197.5 kB / 0.5963 GB, free: 4.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5586, allocations: 0 / 0.5963 GB, free: 4.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5586, allocations: 4 kB / 0.5963 GB, free: 4.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.5587, allocations: 0 / 0.5963 GB, free: 4.328 MB / 430.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.0005525/0.5592, allocations: 399.7 kB / 0.5966 GB, free: 3.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5593, allocations: 8.031 kB / 0.5967 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.5593, allocations: 11.95 kB / 0.5967 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.5594, allocations: 163 kB / 0.5968 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.5595, allocations: 9.688 kB / 0.5968 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5595, allocations: 7.984 kB / 0.5968 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5596, allocations: 69.61 kB / 0.5969 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5597, allocations: 7.906 kB / 0.5969 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5597, allocations: 0 / 0.5969 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5597, allocations: 3.953 kB / 0.5969 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.5598, allocations: 47.97 kB / 0.597 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.5603, allocations: 385.9 kB / 0.5973 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5604, allocations: 66.48 kB / 0.5974 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.5617, allocations: 1.001 MB / 0.5984 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5618, allocations: 30.56 kB / 0.5984 GB, free: 1.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5618, allocations: 0 / 0.5984 GB, free: 1.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00697/0.5688, allocations: 0.6535 MB / 0.599 GB, free: 1.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5688, allocations: 55.53 kB / 0.5991 GB, free: 1.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.5689, allocations: 97.84 kB / 0.5992 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.569, allocations: 37.7 kB / 0.5992 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.569, allocations: 92.2 kB / 0.5993 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.5691, allocations: 47.36 kB / 0.5994 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.5691, allocations: 0 / 0.5994 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5693, allocations: 322.8 kB / 0.5997 GB, free: 428 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.5695, allocations: 79.94 kB / 0.5997 GB, free: 348 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.5697, allocations: 110.5 kB / 0.5998 GB, free: 228 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.57, allocations: 95.22 kB / 0.5999 GB, free: 136 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.57, allocations: 0 / 0.5999 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005457/0.5705, allocations: 245.4 kB / 0.6002 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5706, allocations: 4 kB / 0.6002 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5706, allocations: 3.984 kB / 0.6002 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5706, allocations: 4 kB / 0.6002 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.5713, allocations: 52.45 kB / 0.6002 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5713, allocations: 11.97 kB / 0.6002 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.5718, allocations: 12 kB / 0.6003 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.5719, allocations: 12.86 kB / 0.6003 GB, free: 15.79 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.572, allocations: 125.7 kB / 0.6004 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.5721, allocations: 7.906 kB / 0.6004 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.5729, allocations: 341.7 kB / 0.6007 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/0.573, allocations: 4 kB / 0.6007 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5731, allocations: 0.8125 kB / 0.6007 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5731, allocations: 0 / 0.6007 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.5743, allocations: 0.7653 MB / 0.6015 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5744, allocations: 0 / 0.6015 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.575, allocations: 47.89 kB / 0.6015 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.575, allocations: 0 / 0.6015 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.575, allocations: 12.23 kB / 0.6015 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.575, allocations: 4 kB / 0.6015 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5751, allocations: 4 kB / 0.6015 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.5756, allocations: 359.2 kB / 0.6019 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5757, allocations: 104.9 kB / 0.602 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.5758, allocations: 0 / 0.602 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.5764, allocations: 15.98 kB / 0.602 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.5764, allocations: 7.984 kB / 0.602 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.5765, allocations: 19.92 kB / 0.602 GB, free: 13.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.5765, allocations: 87.27 kB / 0.6021 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5765, allocations: 0 / 0.6021 GB, free: 13.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000478/0.577, allocations: 99.98 kB / 0.6022 GB, free: 13.66 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005182/0.5775, allocations: 227.5 kB / 0.6024 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.578, allocations: 214.5 kB / 0.6026 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.578, allocations: 0 / 0.6026 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.5783, allocations: 119.9 kB / 0.6027 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5787, allocations: 24.64 kB / 0.6028 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.5793, allocations: 303.4 kB / 0.603 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.5796, allocations: 0.7045 MB / 0.6037 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.5801, allocations: 60.75 kB / 0.6038 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.5803, allocations: 43.38 kB / 0.6038 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5803, allocations: 0 / 0.6038 GB, free: 11.94 MB / 446.1 MB Notification: Performance of Templates: time 0.01055/0.5908, allocations: 5.888 MB / 0.6096 GB, free: 6.043 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches