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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 106.6 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07375, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1968/0.2706, allocations: 50.69 MB / 426.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006624/0.2773, allocations: 5.199 MB / 431.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2775, allocations: 9.469 kB / 431.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.2784, allocations: 247.5 kB / 432 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.2791, allocations: 369 kB / 432.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01787/0.297, allocations: 6.754 MB / 439.1 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.2983, allocations: 1.091 MB / 440.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.2986, allocations: 146.4 kB / 440.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.305, allocations: 3.601 MB / 443.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.3055, allocations: 394.7 kB / 444.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.3056, allocations: 59.94 kB / 444.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.3229, allocations: 9.815 MB / 454.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.3232, allocations: 223.5 kB / 454.4 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.3236, allocations: 306.9 kB / 454.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.3347, allocations: 5.477 MB / 460.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3347, allocations: 0 / 460.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3347, allocations: 4 kB / 460.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3347, allocations: 0 / 460.2 MB, free: 11.19 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.002809/0.3376, allocations: 1.354 MB / 461.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3376, allocations: 11.89 kB / 461.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.338, allocations: 67.42 kB / 461.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3384, allocations: 362 kB / 462 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3385, allocations: 33 kB / 462 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.3385, allocations: 40 kB / 462 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3398, allocations: 0.5959 MB / 462.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3399, allocations: 3.906 kB / 462.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.3399, allocations: 20 kB / 462.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3399, allocations: 16 kB / 462.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3413, allocations: 0.7485 MB / 463.4 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/0.3562, allocations: 11.96 MB / 475.4 MB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3575, allocations: 0.524 MB / 475.9 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.3579, allocations: 262 kB / 476.2 MB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.3717, allocations: 11.9 MB / 488.1 MB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3717, allocations: 39 kB / 488.1 MB, free: 10.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.3718, allocations: 0 / 488.1 MB, free: 10.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005634/0.3774, allocations: 2.123 MB / 490.2 MB, free: 8.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3774, allocations: 55.97 kB / 490.3 MB, free: 8.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.3778, allocations: 311 kB / 490.6 MB, free: 8.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.3778, allocations: 37.7 kB / 490.6 MB, free: 8.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.378, allocations: 208.3 kB / 490.8 MB, free: 7.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3781, allocations: 185.2 kB / 491 MB, free: 7.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3783, allocations: 122.2 kB / 491.1 MB, free: 7.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3784, allocations: 350.7 kB / 491.5 MB, free: 7.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3788, allocations: 233 kB / 491.7 MB, free: 7.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.3795, allocations: 347.3 kB / 492 MB, free: 6.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3807, allocations: 0.5956 MB / 492.6 MB, free: 6.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3807, allocations: 0 / 492.6 MB, free: 6.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001828/0.3825, allocations: 0.7559 MB / 493.4 MB, free: 5.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3825, allocations: 8 kB / 493.4 MB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3825, allocations: 4 kB / 493.4 MB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.383, allocations: 102.5 kB / 493.5 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.3835, allocations: 128.7 kB / 493.6 MB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.3859, allocations: 3.472 MB / 497.1 MB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.3862, allocations: 15.98 kB / 497.1 MB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.3863, allocations: 35.98 kB / 497.1 MB, free: 1.203 MB / 414.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.0002455/0.3866, allocations: 197.5 kB / 497.3 MB, free: 1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.3869, allocations: 47.47 kB / 497.4 MB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.3884, allocations: 0.8191 MB / 498.2 MB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.3896, allocations: 0.7558 MB / 498.9 MB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3896, allocations: 0 / 498.9 MB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3897, allocations: 112.7 kB / 499.1 MB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.3898, allocations: 12 kB / 499.1 MB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.3901, allocations: 23.91 kB / 499.1 MB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3902, allocations: 32.39 kB / 499.1 MB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001364/0.3916, allocations: 0.6409 MB / 499.8 MB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001578/0.3932, allocations: 0.9276 MB / 0.489 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004248/0.3936, allocations: 235.4 kB / 0.4892 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.3939, allocations: 249.9 kB / 0.4894 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Backend: time 1.914e-06/0.3939, allocations: 8 kB / 0.4894 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007612/0.4015, allocations: 2.471 MB / 0.4918 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 0.001977/0.4035, allocations: 1.477 MB / 0.4933 GB, free: 8.973 MB / 430.1 MB Notification: Performance of Templates: time 0.061/0.4645, allocations: 49.42 MB / 0.5415 GB, free: 7.461 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches