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.001007/0.001007, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001067/0.001067, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 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.9946/0.9946, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.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.2601/0.2601, allocations: 34.87 MB / 296.6 MB, free: 424 kB / 266.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.914e-06/1.914e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.833e-05, allocations: 4.703 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2974/0.2974, allocations: 144.7 MB / 0.5116 GB, free: 16.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2985, allocations: 1.168 MB / 0.5128 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.2985, allocations: 0 / 0.5128 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.2987, allocations: 26.58 kB / 0.5128 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.2988, allocations: 35.55 kB / 0.5128 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3, allocations: 448.7 kB / 0.5133 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3001, allocations: 73.33 kB / 0.5133 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.3001, allocations: 5.969 kB / 0.5133 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3003, allocations: 52.14 kB / 0.5134 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.3003, allocations: 19.73 kB / 0.5134 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3003, allocations: 1.375 kB / 0.5134 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.3013, allocations: 470.8 kB / 0.5138 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.3013, allocations: 10.14 kB / 0.5139 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.3014, allocations: 19.14 kB / 0.5139 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.3019, allocations: 340.7 kB / 0.5142 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3019, allocations: 0 / 0.5142 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3019, allocations: 3.938 kB / 0.5142 GB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3019, allocations: 0 / 0.5142 GB, free: 15.62 MB / 410.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.0004492/0.3023, allocations: 436.7 kB / 0.5146 GB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3024, allocations: 12.81 kB / 0.5146 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3024, allocations: 9.125 kB / 0.5146 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.065e-05/0.3025, allocations: 116.2 kB / 0.5148 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3025, allocations: 6.312 kB / 0.5148 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3025, allocations: 5.375 kB / 0.5148 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3026, allocations: 62.7 kB / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3026, allocations: 2.906 kB / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3026, allocations: 0 / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3026, allocations: 0 / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.3027, allocations: 23.33 kB / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.303, allocations: 287.8 kB / 0.5151 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.303, allocations: 58.59 kB / 0.5152 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.3031, allocations: 23.06 kB / 0.5152 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.3038, allocations: 260.8 kB / 0.5154 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3038, allocations: 36.55 kB / 0.5155 GB, free: 14.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3038, allocations: 0 / 0.5155 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002938/0.3067, allocations: 0.6738 MB / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3067, allocations: 54.31 kB / 0.5162 GB, free: 14.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.3068, allocations: 165.2 kB / 0.5164 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3068, allocations: 29.7 kB / 0.5164 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.3068, allocations: 144.2 kB / 0.5165 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3069, allocations: 48.5 kB / 0.5166 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.3069, allocations: 51.89 kB / 0.5166 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.307, allocations: 0.4932 MB / 0.5171 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3071, allocations: 83.27 kB / 0.5172 GB, free: 13.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.3071, allocations: 114.6 kB / 0.5173 GB, free: 13.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3073, allocations: 221.4 kB / 0.5175 GB, free: 13.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3073, allocations: 0 / 0.5175 GB, free: 13.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002554/0.3076, allocations: 262.4 kB / 0.5177 GB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3076, allocations: 5.562 kB / 0.5177 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3076, allocations: 4 kB / 0.5178 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3076, allocations: 6.75 kB / 0.5178 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3079, allocations: 45.69 kB / 0.5178 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3079, allocations: 7.094 kB / 0.5178 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3081, allocations: 16.03 kB / 0.5178 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3081, allocations: 12.91 kB / 0.5178 GB, free: 13.32 MB / 410.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 6.929e-05/0.3082, allocations: 159 kB / 0.518 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3082, allocations: 13.42 kB / 0.518 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.3086, allocations: 336.8 kB / 0.5183 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3086, allocations: 7.875 kB / 0.5183 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3086, allocations: 3 kB / 0.5183 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3086, allocations: 2.25 kB / 0.5183 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.3091, allocations: 0.6918 MB / 0.519 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3091, allocations: 12.83 kB / 0.519 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.3094, allocations: 48.17 kB / 0.5191 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3094, allocations: 7.875 kB / 0.5191 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3094, allocations: 11.12 kB / 0.5191 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3094, allocations: 0 / 0.5191 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3094, allocations: 1.938 kB / 0.5191 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3096, allocations: 409.3 kB / 0.5195 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3097, allocations: 28.77 kB / 0.5195 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3097, allocations: 2.578 kB / 0.5195 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3099, allocations: 9.906 kB / 0.5195 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.3099, allocations: 14.59 kB / 0.5195 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.31, allocations: 15.69 kB / 0.5195 GB, free: 12.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.31, allocations: 125 kB / 0.5197 GB, free: 12.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.31, allocations: 0 / 0.5197 GB, free: 12.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000358/0.3103, allocations: 104.4 kB / 0.5198 GB, free: 12.13 MB / 410.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.000308/0.3106, allocations: 227.4 kB / 0.52 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3109, allocations: 218.5 kB / 0.5202 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3109, allocations: 0 / 0.5202 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.311, allocations: 139.5 kB / 0.5203 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3112, allocations: 49.14 kB / 0.5204 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.3117, allocations: 253.2 kB / 0.5206 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.687e-05/0.3118, allocations: 62.73 kB / 0.5207 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.3119, allocations: 73.22 kB / 0.5207 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.3122, allocations: 111.5 kB / 0.5208 GB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3122, allocations: 0 / 0.5208 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Templates: time 0.007525/0.3197, allocations: 7.459 MB / 0.5281 GB, free: 10.4 MB / 410.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 -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.422731935977936]