Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001912/0.001912, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001991/0.001991, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.956e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1681/0.1682, allocations: 51.22 MB / 323.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007679/0.1758, allocations: 5.255 MB / 328.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.176, allocations: 7.938 kB / 328.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1771, allocations: 234.5 kB / 329 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007215/0.1778, allocations: 385.4 kB / 329.4 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01996/0.1978, allocations: 7.2 MB / 336.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1993, allocations: 1.11 MB / 337.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1996, allocations: 90.67 kB / 337.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/0.2075, allocations: 3.782 MB / 341.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.2081, allocations: 379 kB / 342 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2082, allocations: 60 kB / 342 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/0.2271, allocations: 9.352 MB / 351.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.2275, allocations: 243.4 kB / 351.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.228, allocations: 235.6 kB / 351.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.2414, allocations: 6.719 MB / 358.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2414, allocations: 8 kB / 358.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2414, allocations: 0 / 358.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.2414, allocations: 0 / 358.6 MB, free: 11.1 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00314/0.2445, allocations: 1.45 MB / 360 MB, free: 9.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2446, allocations: 8.031 kB / 360 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.245, allocations: 119.4 kB / 360.1 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.2456, allocations: 312.4 kB / 360.4 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.2457, allocations: 32.94 kB / 360.5 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2458, allocations: 48 kB / 360.5 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2472, allocations: 0.7137 MB / 361.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2472, allocations: 3.984 kB / 361.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.2473, allocations: 20 kB / 361.3 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2473, allocations: 16 kB / 361.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2485, allocations: 487.6 kB / 361.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.2624, allocations: 3.639 MB / 365.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.2636, allocations: 401.5 kB / 365.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.264, allocations: 173.6 kB / 366 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.2754, allocations: 2.572 MB / 368.5 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.2755, allocations: 41.89 kB / 368.6 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/0.2755, allocations: 0 / 368.6 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.005611/0.2811, allocations: 1.572 MB / 370.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.2811, allocations: 67.77 kB / 370.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.2815, allocations: 332.2 kB / 370.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.2816, allocations: 37.7 kB / 370.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.2818, allocations: 268 kB / 370.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.282, allocations: 218.2 kB / 371 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.2823, allocations: 132 kB / 371.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.2826, allocations: 0.5391 MB / 371.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2829, allocations: 157.2 kB / 371.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.2836, allocations: 303.5 kB / 372.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2849, allocations: 0.5022 MB / 372.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2849, allocations: 0 / 372.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00187/0.2868, allocations: 0.652 MB / 373.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2868, allocations: 4.281 kB / 373.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2868, allocations: 8 kB / 373.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.2874, allocations: 99 kB / 373.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.2879, allocations: 131.8 kB / 373.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.2918, allocations: 4.471 MB / 378 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.2921, allocations: 20 kB / 378 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.2922, allocations: 27.98 kB / 378.1 MB, free: 6.887 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 (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.0002978/0.2925, allocations: 212.5 kB / 378.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.2929, allocations: 103.5 kB / 378.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.2947, allocations: 0.7801 MB / 379.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2947, allocations: 4 kB / 379.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2947, allocations: 0 / 379.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/0.2963, allocations: 0.6584 MB / 379.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.2985, allocations: 1.088 MB / 380.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2985, allocations: 0 / 380.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.299, allocations: 99.88 kB / 381 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009159/0.2999, allocations: 147.5 kB / 381.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.3, allocations: 19.98 kB / 381.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007285/0.3007, allocations: 0.9362 MB / 382.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3007, allocations: 0 / 382.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3025, allocations: 0.8414 MB / 382.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3026, allocations: 31.8 kB / 383 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3027, allocations: 16 kB / 383 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.3031, allocations: 15.98 kB / 383 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.3032, allocations: 40.36 kB / 383 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.3032, allocations: 31.98 kB / 383.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000277/0.3035, allocations: 241.2 kB / 383.3 MB, free: 1.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3035, allocations: 4 kB / 383.3 MB, free: 1.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004016/0.3075, allocations: 1.337 MB / 384.7 MB, free: 60 kB / 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.005403/0.3129, allocations: 1.872 MB / 386.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.3148, allocations: 0.807 MB / 387.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3148, allocations: 0 / 387.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.3154, allocations: 247.1 kB / 387.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3167, allocations: 242 kB / 387.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3186, allocations: 0.9645 MB / 388.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3189, allocations: 229.3 kB / 389 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.3194, allocations: 125.6 kB / 389.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3195, allocations: 52.48 kB / 389.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3195, allocations: 0 / 389.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Templates: time 0.1838/0.5033, allocations: 45.21 MB / 434.4 MB, free: 130.3 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.063793868990615]