Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.0009876/0.0009876, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001762/0.001762, allocations: 169.4 kB / 25.33 MB, free: 9.465 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.9232/0.9232, allocations: 158.6 MB / 187.2 MB, free: 2.523 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.833e-05, allocations: 2.312 kB / 251.1 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2719/0.2719, allocations: 147.4 MB / 398.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2734, allocations: 0.8276 MB / 399.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2736, allocations: 7.938 kB / 399.3 MB, free: 3.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.274, allocations: 126.3 kB / 399.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.2746, allocations: 404.5 kB / 399.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.2774, allocations: 1.374 MB / 401.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2786, allocations: 1.224 MB / 402.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.2788, allocations: 90.7 kB / 402.5 MB, free: 468 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.28, allocations: 0.8302 MB / 403.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.2804, allocations: 403 kB / 403.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.2805, allocations: 60 kB / 403.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.2826, allocations: 1.322 MB / 405.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.2828, allocations: 251.4 kB / 405.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.2831, allocations: 251.5 kB / 405.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.2852, allocations: 1.391 MB / 407 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2852, allocations: 4 kB / 407 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2852, allocations: 0 / 407 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2853, allocations: 0 / 407 MB, free: 11.96 MB / 346.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.001288/0.2865, allocations: 0.9476 MB / 408 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2866, allocations: 11.98 kB / 408 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.2869, allocations: 116.3 kB / 408.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.2873, allocations: 311.9 kB / 408.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2873, allocations: 29 kB / 408.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.2874, allocations: 48 kB / 408.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.288, allocations: 0.6395 MB / 409.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.288, allocations: 0 / 409.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.288, allocations: 20 kB / 409.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.288, allocations: 12 kB / 409.1 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.2885, allocations: 329.7 kB / 409.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2904, allocations: 1.162 MB / 410.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.291, allocations: 357.5 kB / 411 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.2912, allocations: 129.1 kB / 411.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2913, allocations: 64.45 kB / 411.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2913, allocations: 41.89 kB / 411.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.2914, allocations: 0 / 411.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.005215/0.2966, allocations: 2.247 MB / 413.4 MB, free: 5.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2966, allocations: 60.06 kB / 413.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2968, allocations: 274.7 kB / 413.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.2968, allocations: 37.7 kB / 413.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2969, allocations: 248 kB / 414 MB, free: 4.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.297, allocations: 238 kB / 414.3 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2972, allocations: 120 kB / 414.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2973, allocations: 0.5118 MB / 414.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2975, allocations: 141.2 kB / 415 MB, free: 3.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.2978, allocations: 229.2 kB / 415.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.2983, allocations: 391 kB / 415.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2983, allocations: 0 / 415.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007719/0.2991, allocations: 0.5663 MB / 416.2 MB, free: 2.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2991, allocations: 8 kB / 416.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2991, allocations: 0 / 416.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.2997, allocations: 195 kB / 416.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.3, allocations: 119.8 kB / 416.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.3024, allocations: 4.334 MB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3026, allocations: 24.11 kB / 420.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.3026, allocations: 27.98 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.3028, allocations: 192.4 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.3029, allocations: 63.77 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.3039, allocations: 0.657 MB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3039, allocations: 8 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3039, allocations: 0 / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007556/0.3047, allocations: 0.7205 MB / 422.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.306, allocations: 1.108 MB / 423.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.306, allocations: 4 kB / 423.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.3063, allocations: 115.8 kB / 423.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/0.307, allocations: 252.5 kB / 424 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.307, allocations: 23.98 kB / 424.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005056/0.3075, allocations: 0.8742 MB / 424.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3075, allocations: 0 / 424.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3085, allocations: 0.8238 MB / 425.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.3086, allocations: 39.8 kB / 425.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.3086, allocations: 15.98 kB / 425.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.3089, allocations: 40 kB / 425.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.3089, allocations: 48.5 kB / 425.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.309, allocations: 27.98 kB / 425.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3091, allocations: 205.1 kB / 426.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3091, allocations: 0 / 426.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007711/0.3099, allocations: 327.3 kB / 426.4 MB, free: 7.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006716/0.3106, allocations: 386.8 kB / 426.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3118, allocations: 0.7828 MB / 427.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3118, allocations: 0 / 427.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.3121, allocations: 272.5 kB / 427.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.3129, allocations: 265.2 kB / 428.1 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3147, allocations: 1.053 MB / 429.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.3148, allocations: 143.9 kB / 429.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.3151, allocations: 104.4 kB / 429.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3152, allocations: 56.48 kB / 429.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3152, allocations: 0 / 429.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of Templates: time 0.0181/0.3333, allocations: 16.55 MB / 446 MB, free: 3.977 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_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/MoistAir/MoistAir.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.8819760368205607]