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.0007873/0.0007873, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0007907/0.0007907, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.8824/0.8824, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.963e-06/1.963e-06, allocations: 0 / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.36e-05, allocations: 2.281 kB / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2785/0.2786, allocations: 124 MB / 423.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.2804, allocations: 1.622 MB / 425.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.2806, allocations: 7.938 kB / 425.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008889/0.2815, allocations: 178.8 kB / 425.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.282, allocations: 341.8 kB / 425.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.2828, allocations: 429 kB / 426.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.2836, allocations: 0.8481 MB / 427.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2838, allocations: 80.83 kB / 427.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.2846, allocations: 0.5025 MB / 427.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.285, allocations: 307.1 kB / 428.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.285, allocations: 28 kB / 428.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.2853, allocations: 123.7 kB / 428.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.2854, allocations: 103.6 kB / 428.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2855, allocations: 151.7 kB / 428.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.286, allocations: 0.5064 MB / 429 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.286, allocations: 1.219 kB / 429 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.286, allocations: 3.938 kB / 429 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.286, allocations: 0 / 429 MB, free: 10.14 MB / 362.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.0006638/0.2867, allocations: 0.5096 MB / 429.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2867, allocations: 15.98 kB / 429.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2869, allocations: 48.73 kB / 429.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.2873, allocations: 225.3 kB / 429.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2873, allocations: 20.88 kB / 429.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.2873, allocations: 24.38 kB / 429.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.2878, allocations: 0.525 MB / 430.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2878, allocations: 192 / 430.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.2878, allocations: 12.38 kB / 430.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2878, allocations: 14 kB / 430.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.2881, allocations: 201.8 kB / 430.6 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2892, allocations: 0.8943 MB / 431.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.2895, allocations: 182.6 kB / 431.6 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.2896, allocations: 92.83 kB / 431.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/0.2897, allocations: 16.38 kB / 431.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2897, allocations: 42.48 kB / 431.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.2897, allocations: 0 / 431.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001813/0.2915, allocations: 0.7996 MB / 432.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2915, allocations: 59.34 kB / 432.6 MB, free: 6.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2917, allocations: 236 kB / 432.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2917, allocations: 33.7 kB / 432.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.2918, allocations: 184.4 kB / 433.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.2919, allocations: 99.17 kB / 433.2 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.2919, allocations: 57.7 kB / 433.2 MB, free: 5.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.292, allocations: 338.8 kB / 433.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.2921, allocations: 75.97 kB / 433.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2923, allocations: 183.7 kB / 433.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2925, allocations: 290 kB / 434.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2925, allocations: 0 / 434.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004057/0.2929, allocations: 362.9 kB / 434.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.293, allocations: 7.938 kB / 434.5 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.293, allocations: 11.92 kB / 434.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.2931, allocations: 42.11 kB / 434.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2933, allocations: 75.91 kB / 434.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.2947, allocations: 2.512 MB / 437.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2948, allocations: 12.06 kB / 437.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.2949, allocations: 16 kB / 437.1 MB, free: 1.395 MB / 362.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 0.0001436/0.295, allocations: 149.7 kB / 437.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.295, allocations: 23.86 kB / 437.3 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.2954, allocations: 283.3 kB / 437.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2954, allocations: 4.688 kB / 437.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2954, allocations: 4 kB / 437.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003374/0.2958, allocations: 0.5399 MB / 438.1 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.2964, allocations: 0.5859 MB / 438.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2964, allocations: 0 / 438.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2966, allocations: 62.53 kB / 438.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.761e-05/0.2967, allocations: 20.84 kB / 438.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2967, allocations: 8 kB / 438.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.2975, allocations: 1.256 MB / 440 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2975, allocations: 0 / 440 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.2979, allocations: 438.1 kB / 440.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.298, allocations: 23.88 kB / 440.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.298, allocations: 8.219 kB / 440.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2981, allocations: 12 kB / 440.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2981, allocations: 11.97 kB / 440.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.2982, allocations: 19.98 kB / 440.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2983, allocations: 161.8 kB / 440.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2983, allocations: 0 / 440.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.2986, allocations: 95.94 kB / 440.8 MB, free: 13.43 MB / 378.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.0002668/0.2989, allocations: 147 kB / 440.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.2994, allocations: 441.7 kB / 441.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2995, allocations: 0 / 441.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2996, allocations: 207.4 kB / 441.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.3001, allocations: 140.7 kB / 441.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.301, allocations: 0.6422 MB / 442.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3011, allocations: 155.1 kB / 442.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.3011, allocations: 36.48 kB / 442.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3011, allocations: 0 / 442.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of Templates: time 0.007003/0.3081, allocations: 6.262 MB / 448.8 MB, free: 5.328 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 5.302135607227683]