Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001469/0.001469, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001455/0.001455, allocations: 153.4 kB / 24.26 MB, free: 184 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.477/1.477, allocations: 173.4 MB / 200.8 MB, free: 9.305 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.487e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1754/0.1754, allocations: 58.7 MB / 326 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.1834, allocations: 4.964 MB / 331 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.1837, allocations: 11.94 kB / 331 MB, free: 8.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1847, allocations: 333.8 kB / 331.3 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.1857, allocations: 0.5355 MB / 331.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01909/0.2048, allocations: 7.522 MB / 339.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.207, allocations: 1.566 MB / 341 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.2072, allocations: 145.5 kB / 341.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.2085, allocations: 0.8417 MB / 341.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/0.2094, allocations: 0.5259 MB / 342.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.2095, allocations: 84 kB / 342.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01945/0.229, allocations: 9.558 MB / 352.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007896/0.2298, allocations: 335.2 kB / 352.4 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.2304, allocations: 343.4 kB / 352.8 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.246, allocations: 7.147 MB / 359.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2461, allocations: 0 / 359.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2461, allocations: 4 kB / 359.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2461, allocations: 0 / 359.9 MB, free: 11.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003914/0.25, allocations: 1.514 MB / 361.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.25, allocations: 12.92 kB / 361.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005818/0.2506, allocations: 163.2 kB / 361.6 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.2514, allocations: 395.6 kB / 362 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.2514, allocations: 53.25 kB / 362 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.2516, allocations: 68 kB / 362.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.2538, allocations: 1.213 MB / 363.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.2538, allocations: 4 kB / 363.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.2539, allocations: 28 kB / 363.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.2539, allocations: 16 kB / 363.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.256, allocations: 1.024 MB / 364.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.271, allocations: 4.069 MB / 368.5 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.2729, allocations: 0.7117 MB / 369.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.2736, allocations: 387.2 kB / 369.6 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.2854, allocations: 2.633 MB / 372.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.2854, allocations: 55.16 kB / 372.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.2854, allocations: 0 / 372.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.01051/0.2959, allocations: 3.207 MB / 375.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.296, allocations: 60.41 kB / 375.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2964, allocations: 301.8 kB / 375.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/0.2965, allocations: 45.7 kB / 375.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2967, allocations: 245.1 kB / 376.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.297, allocations: 317.2 kB / 376.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.2973, allocations: 162.6 kB / 376.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2975, allocations: 362.7 kB / 376.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.2981, allocations: 369.8 kB / 377.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2992, allocations: 492.8 kB / 377.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.3011, allocations: 0.9098 MB / 378.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3011, allocations: 0 / 378.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002913/0.304, allocations: 1.214 MB / 379.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.304, allocations: 8 kB / 379.9 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.304, allocations: 8 kB / 379.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/0.3049, allocations: 167.6 kB / 380.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.3057, allocations: 195.7 kB / 380.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.3097, allocations: 3.864 MB / 384.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3101, allocations: 24.03 kB / 384.1 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.3102, allocations: 43.98 kB / 384.2 MB, free: 2.371 MB / 330.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003875/0.3106, allocations: 226 kB / 384.4 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.3111, allocations: 158.9 kB / 384.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.3138, allocations: 1.266 MB / 385.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3138, allocations: 11.98 kB / 385.8 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3138, allocations: 3.938 kB / 385.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002194/0.316, allocations: 1.316 MB / 387.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.3196, allocations: 1.726 MB / 388.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3196, allocations: 4.062 kB / 388.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.3203, allocations: 159.8 kB / 389 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.3222, allocations: 305.3 kB / 389.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.3223, allocations: 31.97 kB / 389.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3234, allocations: 1.289 MB / 390.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3234, allocations: 4.188 kB / 390.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.3264, allocations: 1.495 MB / 392.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3265, allocations: 47.77 kB / 392.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.3266, allocations: 20 kB / 392.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.3272, allocations: 27.98 kB / 392.2 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3273, allocations: 60.83 kB / 392.3 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.3274, allocations: 43.97 kB / 392.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003025/0.3277, allocations: 243 kB / 392.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3277, allocations: 0 / 392.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003967/0.3316, allocations: 1.415 MB / 394 MB, free: 8.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006792/0.3384, allocations: 1.922 MB / 395.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.3409, allocations: 1.112 MB / 397 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/0.341, allocations: 4 kB / 397 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.342, allocations: 475.2 kB / 397.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3438, allocations: 358.5 kB / 397.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3469, allocations: 1.524 MB / 399.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3473, allocations: 309.8 kB / 399.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007319/0.348, allocations: 192.8 kB / 399.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.3482, allocations: 76.47 kB / 399.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3483, allocations: 0 / 399.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of Templates: time 0.1773/0.5255, allocations: 49.42 MB / 449.4 MB, free: 129.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.137751937960275]