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.002395/0.002395, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002589/0.002589, allocations: 153.1 kB / 24.27 MB, free: 168 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.553/1.553, allocations: 173.4 MB / 200.8 MB, free: 9.32 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.482e-06/1.482e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.683e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.177/0.177, allocations: 51.11 MB / 318.4 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.1825, allocations: 5.248 MB / 323.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000382/0.1829, allocations: 7.844 kB / 323.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.1838, allocations: 235.4 kB / 323.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.185, allocations: 388.6 kB / 324.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01942/0.2044, allocations: 7.181 MB / 331.5 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.2064, allocations: 1.106 MB / 332.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.2067, allocations: 94.67 kB / 332.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00882/0.2155, allocations: 3.782 MB / 336.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.2164, allocations: 375 kB / 336.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.2166, allocations: 59.94 kB / 336.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01999/0.2366, allocations: 9.319 MB / 346.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.237, allocations: 247.4 kB / 346.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.2376, allocations: 239.6 kB / 346.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.253, allocations: 6.699 MB / 353.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.253, allocations: 0 / 353.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.253, allocations: 0 / 353.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.253, allocations: 0 / 353.4 MB, free: 2.688 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.003889/0.2569, allocations: 1.446 MB / 354.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.257, allocations: 12.03 kB / 354.8 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.2574, allocations: 111.5 kB / 354.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.2581, allocations: 307.1 kB / 355.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.2581, allocations: 36.94 kB / 355.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2582, allocations: 51.95 kB / 355.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2597, allocations: 0.7175 MB / 356 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.2597, allocations: 0 / 356 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.2598, allocations: 24 kB / 356.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.2598, allocations: 12 kB / 356.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.2611, allocations: 487.6 kB / 356.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.275, allocations: 3.645 MB / 360.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.2763, allocations: 398.3 kB / 360.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.2766, allocations: 179.9 kB / 360.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.2885, allocations: 2.598 MB / 363.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.2885, allocations: 41.89 kB / 363.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.484e-06/0.2885, allocations: 0 / 363.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.00587/0.2944, allocations: 1.574 MB / 365 MB, free: 6.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2945, allocations: 55.91 kB / 365 MB, free: 6.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.2949, allocations: 336.3 kB / 365.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.295, allocations: 37.7 kB / 365.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.2952, allocations: 263.9 kB / 365.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.2954, allocations: 214.3 kB / 365.9 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.2957, allocations: 132 kB / 366 MB, free: 5.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003244/0.296, allocations: 0.543 MB / 366.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.2963, allocations: 157.2 kB / 366.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.297, allocations: 311.5 kB / 367 MB, free: 4.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.2982, allocations: 0.4906 MB / 367.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2982, allocations: 3.938 kB / 367.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001908/0.3001, allocations: 0.6597 MB / 368.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3001, allocations: 4 kB / 368.2 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3001, allocations: 4 kB / 368.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/0.3008, allocations: 103.2 kB / 368.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.3014, allocations: 131.8 kB / 368.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.3052, allocations: 4.472 MB / 372.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3055, allocations: 16.03 kB / 372.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.3056, allocations: 31.98 kB / 372.9 MB, free: 14.43 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.0003105/0.3059, allocations: 208.5 kB / 373.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.3063, allocations: 99.28 kB / 373.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.3081, allocations: 0.7833 MB / 374 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3081, allocations: 8 kB / 374 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3081, allocations: 4 kB / 374 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/0.3092, allocations: 0.6468 MB / 374.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.3117, allocations: 1.092 MB / 375.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3117, allocations: 0 / 375.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.3122, allocations: 103.9 kB / 375.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009305/0.3132, allocations: 143.6 kB / 376 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.3132, allocations: 23.97 kB / 376 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/0.3139, allocations: 0.9323 MB / 376.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3139, allocations: 0 / 376.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.3158, allocations: 0.8492 MB / 377.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3159, allocations: 39.8 kB / 377.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.3159, allocations: 12 kB / 377.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.3163, allocations: 19.98 kB / 377.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.3164, allocations: 40.36 kB / 377.9 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.3165, allocations: 27.98 kB / 377.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.3168, allocations: 245.1 kB / 378.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3168, allocations: 0 / 378.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003893/0.3207, allocations: 1.325 MB / 379.5 MB, free: 7.609 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.006509/0.3272, allocations: 1.87 MB / 381.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.3289, allocations: 0.7996 MB / 382.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.3289, allocations: 4 kB / 382.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.3295, allocations: 251 kB / 382.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.3312, allocations: 240.7 kB / 382.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3332, allocations: 0.9694 MB / 383.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3335, allocations: 225.4 kB / 383.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.334, allocations: 115.2 kB / 383.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3342, allocations: 56.48 kB / 384 MB, free: 3 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3342, allocations: 0 / 384 MB, free: 3 MB / 330.7 MB Notification: Performance of Templates: time 0.07724/0.4114, allocations: 45.01 MB / 429 MB, free: 6.133 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] 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.068969382089563]