Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.01107/0.01107, allocations: 109.2 kB / 21.98 MB, free: 5.18 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.001482/0.001482, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.94 MB / 362.3 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 87.84 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 66.07 MB / 0.5627 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1939/0.5296, allocations: 154.9 MB / 0.714 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.5313, allocations: 1.203 MB / 0.7152 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.5314, allocations: 4 kB / 0.7152 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.5316, allocations: 35.81 kB / 0.7152 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.5316, allocations: 27.77 kB / 0.7152 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.533, allocations: 445.6 kB / 0.7156 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.5331, allocations: 75.52 kB / 0.7157 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.5331, allocations: 4 kB / 0.7157 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.5332, allocations: 31.92 kB / 0.7158 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.5333, allocations: 27.91 kB / 0.7158 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.5333, allocations: 4 kB / 0.7158 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5345, allocations: 0.526 MB / 0.7163 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.5345, allocations: 11.91 kB / 0.7163 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.5346, allocations: 23.94 kB / 0.7163 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.5351, allocations: 313.7 kB / 0.7166 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5351, allocations: 0 / 0.7166 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5351, allocations: 0 / 0.7166 GB, free: 6.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5351, allocations: 0 / 0.7166 GB, free: 6.082 MB / 0.545 GB 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.0006342/0.5358, allocations: 341.6 kB / 0.717 GB, free: 5.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5358, allocations: 16.03 kB / 0.717 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.5358, allocations: 0.9375 kB / 0.717 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.536, allocations: 117.1 kB / 0.7171 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.536, allocations: 8 kB / 0.7171 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.536, allocations: 4 kB / 0.7171 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5362, allocations: 65.67 kB / 0.7172 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5362, allocations: 0 / 0.7172 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5362, allocations: 7.938 kB / 0.7172 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.5362, allocations: 4 kB / 0.7172 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.5363, allocations: 51.95 kB / 0.7172 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.5369, allocations: 364.9 kB / 0.7176 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.5371, allocations: 62.48 kB / 0.7176 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.5371, allocations: 20.84 kB / 0.7176 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.5384, allocations: 247.7 kB / 0.7179 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.5385, allocations: 34.5 kB / 0.7179 GB, free: 4.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.5385, allocations: 0 / 0.7179 GB, free: 4.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006813/0.5453, allocations: 0.6651 MB / 0.7186 GB, free: 3.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.5453, allocations: 59.41 kB / 0.7186 GB, free: 3.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5454, allocations: 101.8 kB / 0.7187 GB, free: 3.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5455, allocations: 29.7 kB / 0.7187 GB, free: 3.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.5455, allocations: 92.31 kB / 0.7188 GB, free: 3.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.5456, allocations: 47.53 kB / 0.7189 GB, free: 3.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5457, allocations: 45.67 kB / 0.7189 GB, free: 3.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5459, allocations: 318.8 kB / 0.7192 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5461, allocations: 79.94 kB / 0.7193 GB, free: 3.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5463, allocations: 110.8 kB / 0.7194 GB, free: 3.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.5468, allocations: 202.4 kB / 0.7196 GB, free: 2.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5468, allocations: 4 kB / 0.7196 GB, free: 2.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006065/0.5474, allocations: 253 kB / 0.7198 GB, free: 2.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5474, allocations: 6.188 kB / 0.7199 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.5474, allocations: 0 / 0.7199 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5474, allocations: 4 kB / 0.7199 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.5481, allocations: 51.94 kB / 0.7199 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5481, allocations: 0 / 0.7199 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.5486, allocations: 19.98 kB / 0.7199 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5487, allocations: 11.98 kB / 0.7199 GB, free: 2.477 MB / 0.545 GB 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.0001317/0.5488, allocations: 125.8 kB / 0.7201 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5489, allocations: 7.953 kB / 0.7201 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.5497, allocations: 342 kB / 0.7204 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5497, allocations: 0 / 0.7204 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5497, allocations: 0 / 0.7204 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5497, allocations: 7.938 kB / 0.7204 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.551, allocations: 0.7335 MB / 0.7211 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.551, allocations: 0 / 0.7211 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.5516, allocations: 47.89 kB / 0.7212 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5516, allocations: 0 / 0.7212 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.5516, allocations: 11.98 kB / 0.7212 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5516, allocations: 0 / 0.7212 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5516, allocations: 3.938 kB / 0.7212 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.5523, allocations: 363.2 kB / 0.7215 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.5523, allocations: 23.91 kB / 0.7215 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.5524, allocations: 4 kB / 0.7216 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.5529, allocations: 8 kB / 0.7216 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.5529, allocations: 19.91 kB / 0.7216 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.553, allocations: 11.98 kB / 0.7216 GB, free: 0.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.553, allocations: 87.28 kB / 0.7217 GB, free: 0.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.553, allocations: 0 / 0.7217 GB, free: 0.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004657/0.5535, allocations: 103.7 kB / 0.7218 GB, free: 492 kB / 0.545 GB 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.000457/0.5539, allocations: 230.8 kB / 0.722 GB, free: 252 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.5545, allocations: 195.8 kB / 0.7222 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5545, allocations: 4 kB / 0.7222 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.5548, allocations: 113.8 kB / 0.7223 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.5552, allocations: 36.03 kB / 0.7223 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.5559, allocations: 290.1 kB / 0.7226 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.5563, allocations: 0.6965 MB / 0.7233 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5565, allocations: 31.39 kB / 0.7233 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.5565, allocations: 0 / 0.7233 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.007471/0.564, allocations: 4.133 MB / 0.7273 GB, free: 10.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.044661828083917]