Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001683/0.001683, allocations: 83.38 kB / 21.99 MB, free: 5.211 MB / 14.72 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.001756/0.001756, allocations: 153.4 kB / 25.24 MB, free: 3.035 MB / 14.72 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 1.314/1.314, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 52.25 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2116, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07047/0.2821, allocations: 59 MB / 407.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.2893, allocations: 4.963 MB / 412.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.2897, allocations: 11.94 kB / 412.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.2907, allocations: 334 kB / 412.8 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.2916, allocations: 0.5244 MB / 413.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01737/0.309, allocations: 7.114 MB / 420.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.311, allocations: 1.563 MB / 422 MB, free: 5.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.3113, allocations: 145.5 kB / 422.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.3122, allocations: 0.6424 MB / 422.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008259/0.313, allocations: 0.5683 MB / 423.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3131, allocations: 84 kB / 423.5 MB, free: 4.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.3306, allocations: 9.4 MB / 432.9 MB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005393/0.3312, allocations: 331.2 kB / 433.2 MB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006792/0.3318, allocations: 382.7 kB / 433.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.3447, allocations: 5.842 MB / 439.4 MB, free: 4.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3447, allocations: 0 / 439.4 MB, free: 4.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3447, allocations: 4 kB / 439.4 MB, free: 4.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3447, allocations: 0 / 439.4 MB, free: 4.352 MB / 398.1 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.003683/0.3484, allocations: 1.51 MB / 440.9 MB, free: 2.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3484, allocations: 11.98 kB / 440.9 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.3489, allocations: 91.56 kB / 441 MB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.3495, allocations: 387.5 kB / 441.4 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.3496, allocations: 49.31 kB / 441.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3497, allocations: 63.98 kB / 441.5 MB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.3517, allocations: 1.22 MB / 442.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3517, allocations: 0 / 442.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.3518, allocations: 35.94 kB / 442.8 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3518, allocations: 12 kB / 442.8 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3537, allocations: 1.016 MB / 443.8 MB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.3669, allocations: 4.062 MB / 447.8 MB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3686, allocations: 0.699 MB / 448.5 MB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.3692, allocations: 395 kB / 448.9 MB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.3797, allocations: 2.612 MB / 451.5 MB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.3798, allocations: 51.53 kB / 451.6 MB, free: 7.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.3798, allocations: 4 kB / 451.6 MB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.0103/0.3901, allocations: 3.175 MB / 454.8 MB, free: 4.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3902, allocations: 64.41 kB / 454.8 MB, free: 4.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.3905, allocations: 301.8 kB / 455.1 MB, free: 4.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.3906, allocations: 41.7 kB / 455.2 MB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3908, allocations: 253 kB / 455.4 MB, free: 4.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3911, allocations: 321.2 kB / 455.7 MB, free: 3.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.3914, allocations: 166.6 kB / 455.9 MB, free: 3.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3916, allocations: 358.8 kB / 456.2 MB, free: 3.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.3922, allocations: 369.8 kB / 456.6 MB, free: 2.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3932, allocations: 488.2 kB / 457.1 MB, free: 2.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.3951, allocations: 0.9138 MB / 458 MB, free: 1.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3951, allocations: 0 / 458 MB, free: 1.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002786/0.3979, allocations: 1.102 MB / 459.1 MB, free: 256 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3979, allocations: 7.938 kB / 459.1 MB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.398, allocations: 4 kB / 459.1 MB, free: 244 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/0.3988, allocations: 171.5 kB / 459.3 MB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.3996, allocations: 191.8 kB / 459.5 MB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/0.4033, allocations: 3.86 MB / 463.3 MB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.4038, allocations: 19.94 kB / 463.3 MB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4039, allocations: 43.98 kB / 463.4 MB, free: 11.7 MB / 430.1 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.000404/0.4043, allocations: 221.9 kB / 463.6 MB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.4047, allocations: 63.72 kB / 463.7 MB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.4072, allocations: 1.28 MB / 464.9 MB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4072, allocations: 8 kB / 465 MB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4072, allocations: 7.938 kB / 465 MB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/0.4094, allocations: 1.32 MB / 466.3 MB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.4128, allocations: 1.73 MB / 468 MB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4128, allocations: 0 / 468 MB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/0.4136, allocations: 159.9 kB / 468.2 MB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.4154, allocations: 305.2 kB / 468.5 MB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.4155, allocations: 31.98 kB / 468.5 MB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4165, allocations: 1.285 MB / 469.8 MB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4165, allocations: 0 / 469.8 MB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.4195, allocations: 1.422 MB / 471.2 MB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4196, allocations: 47.77 kB / 471.3 MB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.4197, allocations: 23.94 kB / 471.3 MB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.4202, allocations: 31.97 kB / 471.3 MB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4203, allocations: 48.91 kB / 471.4 MB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/0.4204, allocations: 47.95 kB / 471.4 MB, free: 3.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.4207, allocations: 243 kB / 471.6 MB, free: 3.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4207, allocations: 0 / 471.6 MB, free: 3.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003776/0.4245, allocations: 1.403 MB / 473 MB, free: 1.73 MB / 430.1 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.171/0.5954, allocations: 1.763 MB / 474.8 MB, free: 114.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.598, allocations: 1.099 MB / 475.9 MB, free: 114.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.598, allocations: 1.156 kB / 475.9 MB, free: 114.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.599, allocations: 480.4 kB / 476.4 MB, free: 114.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.6008, allocations: 332.5 kB / 476.7 MB, free: 114.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.6034, allocations: 1.67 MB / 478.4 MB, free: 113.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6037, allocations: 315.2 kB / 478.7 MB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006542/0.6043, allocations: 194.7 kB / 478.9 MB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6045, allocations: 77.7 kB / 478.9 MB, free: 113.5 MB / 430.1 MB Notification: Performance of SimCode: time 5e-07/0.6045, allocations: 4.297 kB / 478.9 MB, free: 113.5 MB / 430.1 MB Notification: Performance of Templates: time 0.05294/0.6575, allocations: 50.52 MB / 0.5171 GB, free: 67.96 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.679210424073972]