Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00192/0.00192, allocations: 104.5 kB / 21.23 MB, free: 388 kB / 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.002736/0.002736, allocations: 211.9 kB / 24.52 MB, free: 3.707 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.427/1.427, allocations: 207.7 MB / 235.4 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [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.001846/0.001846, allocations: 51.92 kB / 347.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2384, allocations: 49.16 MB / 397 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0558/0.2942, allocations: 45.57 MB / 442.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006808/0.301, allocations: 4.694 MB / 447.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.3014, allocations: 7.938 kB / 447.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.3022, allocations: 234.6 kB / 447.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008178/0.303, allocations: 373.9 kB / 447.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01886/0.3218, allocations: 6.783 MB / 454.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3236, allocations: 1.107 MB / 455.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.3239, allocations: 101.8 kB / 455.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007614/0.3315, allocations: 3.615 MB / 459.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.3322, allocations: 402.5 kB / 459.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3324, allocations: 60 kB / 459.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01828/0.3506, allocations: 9.182 MB / 469.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.351, allocations: 231.4 kB / 469.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.3515, allocations: 267.1 kB / 469.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.3651, allocations: 5.409 MB / 475 MB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3651, allocations: 4 kB / 475 MB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3651, allocations: 0 / 475 MB, free: 4.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3652, allocations: 0 / 475 MB, free: 4.965 MB / 382.1 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.003485/0.3686, allocations: 1.308 MB / 476.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3687, allocations: 11.98 kB / 476.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.369, allocations: 67.7 kB / 476.3 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.3696, allocations: 312.1 kB / 476.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3696, allocations: 33 kB / 476.7 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.3697, allocations: 47.95 kB / 476.7 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.3712, allocations: 0.8894 MB / 477.6 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3712, allocations: 0 / 477.6 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.3713, allocations: 20 kB / 477.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3713, allocations: 16 kB / 477.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3727, allocations: 0.7378 MB / 478.4 MB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.3857, allocations: 3.588 MB / 482 MB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.387, allocations: 0.5048 MB / 482.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.3874, allocations: 242.2 kB / 482.7 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.3984, allocations: 2.569 MB / 485.3 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.3985, allocations: 43.05 kB / 485.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.735e-06/0.3985, allocations: 4 kB / 485.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.006272/0.4047, allocations: 1.888 MB / 487.2 MB, free: 8.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.4048, allocations: 63.84 kB / 487.3 MB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.4052, allocations: 269.6 kB / 487.5 MB, free: 8.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.4053, allocations: 41.7 kB / 487.6 MB, free: 8.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.4054, allocations: 205.2 kB / 487.8 MB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.4056, allocations: 198.3 kB / 488 MB, free: 7.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.4058, allocations: 118.3 kB / 488.1 MB, free: 7.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.406, allocations: 342.8 kB / 488.4 MB, free: 7.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.4064, allocations: 241.2 kB / 488.7 MB, free: 6.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.4071, allocations: 340.3 kB / 489 MB, free: 6.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4084, allocations: 0.6007 MB / 489.6 MB, free: 5.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4084, allocations: 0 / 489.6 MB, free: 5.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001942/0.4104, allocations: 0.7498 MB / 490.4 MB, free: 5.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4104, allocations: 8.062 kB / 490.4 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.4104, allocations: 4 kB / 490.4 MB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.4109, allocations: 118.3 kB / 490.5 MB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.4114, allocations: 123.9 kB / 490.6 MB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.4144, allocations: 3.212 MB / 493.8 MB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.4148, allocations: 12 kB / 493.8 MB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.4149, allocations: 31.98 kB / 493.9 MB, free: 1.449 MB / 398.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 (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.0003115/0.4152, allocations: 197.8 kB / 494 MB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.4155, allocations: 47.7 kB / 494.1 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.4171, allocations: 0.8166 MB / 494.9 MB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4171, allocations: 4 kB / 494.9 MB, free: 356 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.4172, allocations: 0 / 494.9 MB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.4184, allocations: 0.761 MB / 495.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.4205, allocations: 1.131 MB / 496.8 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4205, allocations: 0 / 496.8 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.421, allocations: 107.9 kB / 496.9 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009686/0.422, allocations: 152.6 kB / 497.1 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.422, allocations: 16 kB / 497.1 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004711/0.4225, allocations: 0.6445 MB / 497.7 MB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4225, allocations: 4.031 kB / 497.7 MB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.4243, allocations: 0.9072 MB / 498.6 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.4244, allocations: 31.77 kB / 498.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4244, allocations: 23.97 kB / 498.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.4248, allocations: 19.98 kB / 498.7 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.4249, allocations: 32.44 kB / 498.7 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.425, allocations: 27.98 kB / 498.8 MB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4252, allocations: 213.3 kB / 499 MB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4252, allocations: 4 kB / 499 MB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003425/0.4287, allocations: 1.321 MB / 0.4886 GB, free: 10.79 MB / 414.1 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.005273/0.4339, allocations: 1.729 MB / 0.4903 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4357, allocations: 0.7737 MB / 0.491 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4357, allocations: 0 / 0.491 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.4363, allocations: 288.1 kB / 0.4913 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4375, allocations: 213.1 kB / 0.4915 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4395, allocations: 1.104 MB / 0.4926 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.4398, allocations: 233.4 kB / 0.4928 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.4402, allocations: 139.3 kB / 0.4929 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.4404, allocations: 56.48 kB / 0.493 GB, free: 6.176 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4404, allocations: 0 / 0.493 GB, free: 6.176 MB / 414.1 MB Notification: Performance of Templates: time 0.06655/0.507, allocations: 45.43 MB / 0.5374 GB, free: 8.656 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.252968315966427]