Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.52e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1667/0.1668, allocations: 45.31 MB / 312.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.1716, allocations: 4.688 MB / 317.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1719, allocations: 9.344 kB / 317.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1726, allocations: 234.2 kB / 317.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.1731, allocations: 391.9 kB / 317.9 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.1888, allocations: 7.182 MB / 325.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.1906, allocations: 1.099 MB / 326.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.1908, allocations: 94.67 kB / 326.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/0.1984, allocations: 3.782 MB / 330.1 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.199, allocations: 371 kB / 330.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1991, allocations: 60 kB / 330.5 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.2182, allocations: 9.32 MB / 339.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.2186, allocations: 247.3 kB / 340.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.2191, allocations: 239.6 kB / 340.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.2342, allocations: 6.691 MB / 347 MB, free: 8.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2342, allocations: 0 / 347 MB, free: 8.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2342, allocations: 0 / 347 MB, free: 8.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2342, allocations: 0 / 347 MB, free: 8.363 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003876/0.2381, allocations: 1.315 MB / 348.3 MB, free: 7.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2381, allocations: 15.97 kB / 348.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.2386, allocations: 111.5 kB / 348.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.2392, allocations: 308.3 kB / 348.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.2392, allocations: 33 kB / 348.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2393, allocations: 47.94 kB / 348.8 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.241, allocations: 0.8971 MB / 349.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.241, allocations: 3.953 kB / 349.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.2411, allocations: 24 kB / 349.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2411, allocations: 12 kB / 349.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.243, allocations: 0.7378 MB / 350.5 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.2626, allocations: 3.596 MB / 354.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.2648, allocations: 0.497 MB / 354.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.2655, allocations: 253.4 kB / 354.8 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.2817, allocations: 2.582 MB / 357.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/0.2817, allocations: 44.06 kB / 357.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.135e-06/0.2817, allocations: 3.938 kB / 357.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.007975/0.2897, allocations: 1.919 MB / 359.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2898, allocations: 63.91 kB / 359.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.2902, allocations: 273.6 kB / 359.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.2902, allocations: 37.7 kB / 359.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.2904, allocations: 209.2 kB / 360 MB, free: 11.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.2907, allocations: 194.3 kB / 360.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.2909, allocations: 118.3 kB / 360.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2911, allocations: 342.8 kB / 360.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2916, allocations: 241.2 kB / 360.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.2923, allocations: 340.4 kB / 361.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.2937, allocations: 0.6046 MB / 361.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2937, allocations: 0 / 361.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002253/0.2959, allocations: 0.8116 MB / 362.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2959, allocations: 8 kB / 362.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.296, allocations: 7.984 kB / 362.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.2965, allocations: 98.52 kB / 362.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.2971, allocations: 123.8 kB / 362.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.3006, allocations: 3.239 MB / 366.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.3009, allocations: 12 kB / 366.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.301, allocations: 31.98 kB / 366.1 MB, free: 4.668 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.3014, allocations: 194 kB / 366.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.3018, allocations: 91.39 kB / 366.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.3036, allocations: 0.8138 MB / 367.2 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3036, allocations: 7.938 kB / 367.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3036, allocations: 0 / 367.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.305, allocations: 0.761 MB / 368 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.3073, allocations: 1.135 MB / 369.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3073, allocations: 0 / 369.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.3078, allocations: 103.8 kB / 369.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3089, allocations: 156.6 kB / 369.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.3089, allocations: 19.98 kB / 369.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005739/0.3095, allocations: 0.6407 MB / 370 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3095, allocations: 4 kB / 370 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3115, allocations: 0.9537 MB / 371 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3117, allocations: 39.8 kB / 371 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.3117, allocations: 12 kB / 371 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.3122, allocations: 20.06 kB / 371 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.3122, allocations: 40.47 kB / 371.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.3123, allocations: 35.97 kB / 371.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002914/0.3126, allocations: 213.2 kB / 371.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3126, allocations: 0 / 371.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004054/0.3167, allocations: 1.325 MB / 372.7 MB, free: 13.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007151/0.3238, allocations: 1.878 MB / 374.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3258, allocations: 0.7775 MB / 375.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.3258, allocations: 4.562 kB / 375.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.3265, allocations: 279.5 kB / 375.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.3279, allocations: 238.2 kB / 375.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3303, allocations: 1.006 MB / 376.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3306, allocations: 229.4 kB / 377 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005859/0.3312, allocations: 137.1 kB / 377.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3314, allocations: 60.47 kB / 377.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3314, allocations: 4 kB / 377.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of Templates: time 0.07295/0.4044, allocations: 44.37 MB / 421.6 MB, free: 13.01 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.025934405974112]