Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001307/0.001307, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001382/0.001382, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 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.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2023, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07102/0.2733, allocations: 58.99 MB / 491.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.2802, allocations: 4.97 MB / 496.3 MB, free: 6.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.2804, allocations: 7.938 kB / 496.3 MB, free: 6.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.2812, allocations: 330 kB / 496.6 MB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.2821, allocations: 0.5206 MB / 497.2 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.2996, allocations: 7.466 MB / 0.4928 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3013, allocations: 1.571 MB / 0.4943 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.3016, allocations: 149.4 kB / 0.4945 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.3024, allocations: 0.6386 MB / 0.4951 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008167/0.3032, allocations: 0.6073 MB / 0.4957 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.3034, allocations: 80 kB / 0.4958 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.3196, allocations: 9.861 MB / 0.5054 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.32, allocations: 335.1 kB / 0.5057 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.3205, allocations: 378.8 kB / 0.5061 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00835/0.3288, allocations: 5.884 MB / 0.5118 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3288, allocations: 3.938 kB / 0.5118 GB, free: 10.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3288, allocations: 4 kB / 0.5118 GB, free: 10.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3288, allocations: 0 / 0.5118 GB, free: 10.7 MB / 430.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.003221/0.332, allocations: 1.532 MB / 0.5133 GB, free: 9.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3321, allocations: 8.031 kB / 0.5133 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.3325, allocations: 91.56 kB / 0.5134 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.3333, allocations: 387.1 kB / 0.5138 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.3333, allocations: 45.31 kB / 0.5138 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3334, allocations: 67.95 kB / 0.5139 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.3356, allocations: 1.212 MB / 0.5151 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3356, allocations: 4 kB / 0.5151 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.3357, allocations: 28 kB / 0.5151 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3357, allocations: 16 kB / 0.5151 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3377, allocations: 1.016 MB / 0.5161 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.3524, allocations: 4.058 MB / 0.5201 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.3542, allocations: 0.7078 MB / 0.5208 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.3548, allocations: 383.9 kB / 0.5211 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.3668, allocations: 2.608 MB / 0.5237 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3668, allocations: 43.22 kB / 0.5237 GB, free: 14.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.394e-06/0.3668, allocations: 0 / 0.5237 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01008/0.3769, allocations: 3.155 MB / 0.5268 GB, free: 11.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3769, allocations: 64.41 kB / 0.5269 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3773, allocations: 301.8 kB / 0.5272 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.3774, allocations: 41.7 kB / 0.5272 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3775, allocations: 249 kB / 0.5274 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.3778, allocations: 325.2 kB / 0.5277 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.3781, allocations: 162.6 kB / 0.5279 GB, free: 9.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3783, allocations: 350.8 kB / 0.5282 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.3789, allocations: 373.8 kB / 0.5286 GB, free: 9.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009993/0.3799, allocations: 0.4884 MB / 0.5291 GB, free: 8.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.3818, allocations: 0.8982 MB / 0.5299 GB, free: 7.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3818, allocations: 0 / 0.5299 GB, free: 7.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002744/0.3845, allocations: 1.125 MB / 0.531 GB, free: 6.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3846, allocations: 8 kB / 0.5311 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3846, allocations: 3.938 kB / 0.5311 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.3854, allocations: 163.3 kB / 0.5312 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.3862, allocations: 191.9 kB / 0.5314 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.3895, allocations: 3.864 MB / 0.5352 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3898, allocations: 24.06 kB / 0.5352 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.3899, allocations: 51.86 kB / 0.5352 GB, free: 2.066 MB / 446.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.0003171/0.3902, allocations: 221.7 kB / 0.5355 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/0.3906, allocations: 55.72 kB / 0.5355 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.3933, allocations: 1.272 MB / 0.5367 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1632/0.5565, allocations: 1.318 MB / 0.538 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5565, allocations: 4.438 kB / 0.538 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5566, allocations: 49.88 kB / 0.5381 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.5567, allocations: 18.31 kB / 0.5381 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.5573, allocations: 31.11 kB / 0.5381 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5574, allocations: 53.95 kB / 0.5382 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00216/0.5595, allocations: 1.008 MB / 0.5392 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002318/0.5618, allocations: 1.421 MB / 0.5406 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006551/0.5625, allocations: 368.9 kB / 0.5409 GB, free: 105.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.5627, allocations: 241.7 kB / 0.5411 GB, free: 105.6 MB / 446.1 MB Notification: Performance of Backend: time 5.01e-07/0.5627, allocations: 0 / 0.5411 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007235/0.5699, allocations: 2.698 MB / 0.5438 GB, free: 105.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.001984/0.5719, allocations: 1.853 MB / 0.5456 GB, free: 104 MB / 446.1 MB Notification: Performance of Templates: time 0.05127/0.6232, allocations: 53.92 MB / 0.5982 GB, free: 53.33 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.07474805599486]