Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.00138/0.00138, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001051/0.001051, allocations: 158.9 kB / 25.74 MB, free: 8.59 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.9625/0.9625, allocations: 158.6 MB / 187.6 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.002e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2676/0.2676, allocations: 137 MB / 388.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2694, allocations: 1.747 MB / 389.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.2696, allocations: 12.3 kB / 389.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.2702, allocations: 176.6 kB / 390.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.2707, allocations: 344.7 kB / 390.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.2715, allocations: 423.3 kB / 390.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.2725, allocations: 0.8487 MB / 391.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2727, allocations: 69.39 kB / 391.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.2734, allocations: 0.518 MB / 392.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.2738, allocations: 301.1 kB / 392.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.2739, allocations: 31.03 kB / 392.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.2741, allocations: 124.1 kB / 392.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2742, allocations: 100.8 kB / 392.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2744, allocations: 148.2 kB / 392.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2748, allocations: 342.9 kB / 393.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2748, allocations: 2.562 kB / 393.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2748, allocations: 0 / 393.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2748, allocations: 0 / 393.3 MB, free: 10.33 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006406/0.2755, allocations: 0.6238 MB / 393.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2755, allocations: 12.2 kB / 393.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2758, allocations: 78.92 kB / 394 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2761, allocations: 240.8 kB / 394.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2761, allocations: 23.25 kB / 394.2 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.2761, allocations: 29.84 kB / 394.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.2764, allocations: 474.7 kB / 394.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2764, allocations: 3.312 kB / 394.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2765, allocations: 17.33 kB / 394.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2765, allocations: 11.66 kB / 394.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.2767, allocations: 118.3 kB / 394.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2778, allocations: 1.062 MB / 395.9 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.2781, allocations: 142.5 kB / 396.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.2782, allocations: 60.05 kB / 396.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-05/0.2783, allocations: 21.95 kB / 396.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2783, allocations: 43.23 kB / 396.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.2783, allocations: 0 / 396.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001411/0.2797, allocations: 0.6957 MB / 396.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.2797, allocations: 58.03 kB / 397 MB, free: 8.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2799, allocations: 276.8 kB / 397.2 MB, free: 7.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2799, allocations: 31.58 kB / 397.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.28, allocations: 235.8 kB / 397.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.28, allocations: 92.16 kB / 397.6 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.2801, allocations: 80.86 kB / 397.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.2801, allocations: 0.5076 MB / 398.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.2802, allocations: 45.84 kB / 398.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2803, allocations: 182.9 kB / 398.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.2805, allocations: 255.3 kB / 398.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2805, allocations: 3.125 kB / 398.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003431/0.2808, allocations: 310 kB / 398.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2809, allocations: 8.094 kB / 399 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2809, allocations: 10.06 kB / 399 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.281, allocations: 44.05 kB / 399 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2812, allocations: 79.14 kB / 399.1 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.2823, allocations: 3.469 MB / 402.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2824, allocations: 16.17 kB / 402.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2824, allocations: 23 kB / 402.6 MB, free: 2.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.2825, allocations: 175.3 kB / 402.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2825, allocations: 32.48 kB / 402.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.2829, allocations: 228.5 kB / 403 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2829, allocations: 2.906 kB / 403 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2829, allocations: 2.375 kB / 403 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002356/0.2831, allocations: 0.4972 MB / 403.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.2836, allocations: 0.5866 MB / 404.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2836, allocations: 0 / 404.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.2838, allocations: 61.67 kB / 404.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-05/0.2839, allocations: 20.55 kB / 404.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2839, allocations: 6.594 kB / 404.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005624/0.2845, allocations: 1.733 MB / 405.9 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2845, allocations: 0 / 405.9 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.2849, allocations: 428 kB / 406.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.2849, allocations: 17.67 kB / 406.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.285, allocations: 9.812 kB / 406.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2851, allocations: 10.52 kB / 406.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2851, allocations: 16.69 kB / 406.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2851, allocations: 12.55 kB / 406.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.2852, allocations: 188 kB / 406.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2852, allocations: 0 / 406.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.2856, allocations: 103.4 kB / 406.7 MB, free: 15.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002229/0.2858, allocations: 141.6 kB / 406.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.2863, allocations: 0.5021 MB / 407.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2863, allocations: 3.312 kB / 407.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2865, allocations: 249.8 kB / 407.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.2869, allocations: 141.8 kB / 407.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.288, allocations: 0.5897 MB / 408.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.2881, allocations: 90.06 kB / 408.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.2883, allocations: 52.73 kB / 408.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.2883, allocations: 36 kB / 408.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2883, allocations: 0 / 408.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Templates: time 0.007904/0.2962, allocations: 5.666 MB / 414.2 MB, free: 11.43 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.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.2288385948631912]