Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8183/0.8183, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1213/0.1213, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.588e-05, allocations: 5.938 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2402/0.2402, allocations: 131.8 MB / 0.5273 GB, free: 3.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.2432, allocations: 3.304 MB / 0.5305 GB, free: 480 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.2432, allocations: 8 kB / 0.5305 GB, free: 472 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2434, allocations: 27.77 kB / 0.5305 GB, free: 444 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/0.2434, allocations: 23.78 kB / 0.5305 GB, free: 420 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000991/0.2444, allocations: 450 kB / 0.531 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.2445, allocations: 79.52 kB / 0.5311 GB, free: 15.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.2445, allocations: 0 / 0.5311 GB, free: 15.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.2446, allocations: 43.91 kB / 0.5311 GB, free: 15.85 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.2446, allocations: 19.97 kB / 0.5311 GB, free: 15.83 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2447, allocations: 0 / 0.5311 GB, free: 15.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.2454, allocations: 474.5 kB / 0.5316 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.2454, allocations: 7.984 kB / 0.5316 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.2454, allocations: 19.94 kB / 0.5316 GB, free: 15.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.2458, allocations: 335.1 kB / 0.5319 GB, free: 15.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2458, allocations: 0 / 0.5319 GB, free: 15.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2458, allocations: 0 / 0.5319 GB, free: 15.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2458, allocations: 0 / 0.5319 GB, free: 15.01 MB / 442.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.0004449/0.2463, allocations: 335.2 kB / 0.5322 GB, free: 14.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2463, allocations: 12.03 kB / 0.5322 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.2463, allocations: 8.938 kB / 0.5323 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.728e-05/0.2464, allocations: 109.9 kB / 0.5324 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2464, allocations: 11.94 kB / 0.5324 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2464, allocations: 7.938 kB / 0.5324 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2466, allocations: 65.67 kB / 0.5324 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2466, allocations: 0 / 0.5324 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2466, allocations: 8 kB / 0.5324 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2466, allocations: 0 / 0.5324 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.2467, allocations: 47.97 kB / 0.5325 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.247, allocations: 256.9 kB / 0.5327 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.2471, allocations: 66.48 kB / 0.5328 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.2471, allocations: 22.45 kB / 0.5328 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006779/0.2478, allocations: 255.7 kB / 0.5331 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2478, allocations: 38.55 kB / 0.5331 GB, free: 13.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2478, allocations: 0 / 0.5331 GB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.003122/0.2509, allocations: 0.665 MB / 0.5338 GB, free: 13.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2509, allocations: 51.97 kB / 0.5338 GB, free: 12.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.251, allocations: 106.6 kB / 0.5339 GB, free: 12.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.251, allocations: 29.7 kB / 0.5339 GB, free: 12.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.2511, allocations: 92.31 kB / 0.534 GB, free: 12.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2511, allocations: 51.58 kB / 0.5341 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.2512, allocations: 45.67 kB / 0.5341 GB, free: 12.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.2513, allocations: 322.8 kB / 0.5344 GB, free: 12.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2514, allocations: 83.88 kB / 0.5345 GB, free: 12.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2515, allocations: 104.5 kB / 0.5346 GB, free: 12.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2518, allocations: 206.5 kB / 0.5348 GB, free: 11.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2518, allocations: 0 / 0.5348 GB, free: 11.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003371/0.2521, allocations: 249.5 kB / 0.535 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2521, allocations: 6.656 kB / 0.535 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2521, allocations: 0 / 0.535 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2522, allocations: 7.938 kB / 0.535 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.2525, allocations: 59.88 kB / 0.5351 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2525, allocations: 0 / 0.5351 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2527, allocations: 12 kB / 0.5351 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2527, allocations: 15.98 kB / 0.5351 GB, free: 11.53 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 0.0003484/0.2531, allocations: 121.9 kB / 0.5352 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2531, allocations: 7.953 kB / 0.5353 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.2536, allocations: 342.3 kB / 0.5356 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2536, allocations: 3.938 kB / 0.5356 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2536, allocations: 4 kB / 0.5356 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2536, allocations: 7.984 kB / 0.5356 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.2543, allocations: 0.6744 MB / 0.5363 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2543, allocations: 5.938 kB / 0.5363 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.2545, allocations: 39.97 kB / 0.5363 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2545, allocations: 4 kB / 0.5363 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.2546, allocations: 7.984 kB / 0.5363 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2546, allocations: 0 / 0.5363 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2546, allocations: 4 kB / 0.5363 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2549, allocations: 358.7 kB / 0.5367 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.255, allocations: 35.78 kB / 0.5367 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.255, allocations: 0 / 0.5367 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2552, allocations: 15.98 kB / 0.5367 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2552, allocations: 11.97 kB / 0.5367 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.2553, allocations: 15.98 kB / 0.5367 GB, free: 9.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.2553, allocations: 83.16 kB / 0.5368 GB, free: 9.711 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2553, allocations: 0 / 0.5368 GB, free: 9.711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.2556, allocations: 107.7 kB / 0.5369 GB, free: 9.605 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.0003375/0.2559, allocations: 222.9 kB / 0.5371 GB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2563, allocations: 200.7 kB / 0.5373 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2563, allocations: 4.125 kB / 0.5373 GB, free: 9.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.2564, allocations: 119.8 kB / 0.5374 GB, free: 9.059 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2567, allocations: 29.23 kB / 0.5375 GB, free: 9.031 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.2572, allocations: 282.7 kB / 0.5377 GB, free: 8.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.272e-05/0.2572, allocations: 84.03 kB / 0.5378 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.2574, allocations: 32.47 kB / 0.5378 GB, free: 8.586 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2574, allocations: 0 / 0.5378 GB, free: 8.586 MB / 442.7 MB Notification: Performance of Templates: time 0.004429/0.2618, allocations: 4.228 MB / 0.542 GB, free: 4.348 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.408130778931081]