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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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.001247/0.001247, allocations: 103 kB / 17.74 MB, free: 5.316 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.001094/0.001094, allocations: 198.5 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2276, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0513/0.2789, allocations: 50.54 MB / 452 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.2847, allocations: 5.199 MB / 457.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.2849, allocations: 4 kB / 457.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.2856, allocations: 254.6 kB / 457.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.2863, allocations: 365.9 kB / 457.8 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01532/0.3016, allocations: 7.132 MB / 464.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3027, allocations: 1.091 MB / 466 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.3029, allocations: 141.5 kB / 466.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.3089, allocations: 3.605 MB / 469.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.3095, allocations: 406.6 kB / 470.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3096, allocations: 60 kB / 470.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/0.3243, allocations: 9.92 MB / 480.1 MB, free: 9.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.3245, allocations: 223.4 kB / 480.3 MB, free: 9.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.3249, allocations: 302.9 kB / 480.6 MB, free: 9.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.3326, allocations: 5.501 MB / 486.1 MB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3327, allocations: 0 / 486.1 MB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3327, allocations: 0 / 486.1 MB, free: 3.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3327, allocations: 0 / 486.1 MB, free: 3.938 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002915/0.3356, allocations: 1.365 MB / 487.5 MB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3356, allocations: 19.81 kB / 487.5 MB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.336, allocations: 59.53 kB / 487.6 MB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.3365, allocations: 370 kB / 487.9 MB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3366, allocations: 29 kB / 488 MB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.3366, allocations: 51.91 kB / 488 MB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.338, allocations: 0.5804 MB / 488.6 MB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.338, allocations: 3.938 kB / 488.6 MB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.3381, allocations: 20 kB / 488.6 MB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3381, allocations: 15.98 kB / 488.6 MB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3394, allocations: 0.7378 MB / 489.4 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.3552, allocations: 11.97 MB / 0.4896 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3564, allocations: 0.5158 MB / 0.4901 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.3568, allocations: 259.6 kB / 0.4904 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/0.371, allocations: 11.9 MB / 0.502 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.371, allocations: 42.98 kB / 0.502 GB, free: 3.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.371, allocations: 0 / 0.502 GB, free: 3.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005606/0.3766, allocations: 2.12 MB / 0.5041 GB, free: 1.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.3767, allocations: 55.97 kB / 0.5041 GB, free: 1.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.377, allocations: 319 kB / 0.5044 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.3771, allocations: 37.7 kB / 0.5045 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3772, allocations: 196.3 kB / 0.5047 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3773, allocations: 201.2 kB / 0.5049 GB, free: 484 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3775, allocations: 114.1 kB / 0.505 GB, free: 364 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3777, allocations: 346.8 kB / 0.5053 GB, free: 8 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.3781, allocations: 241 kB / 0.5055 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.3787, allocations: 347.3 kB / 0.5059 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3799, allocations: 0.5956 MB / 0.5064 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3799, allocations: 4 kB / 0.5064 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001848/0.3818, allocations: 0.7479 MB / 0.5072 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3818, allocations: 4 kB / 0.5072 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3818, allocations: 7.938 kB / 0.5072 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.3823, allocations: 110.7 kB / 0.5073 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.3828, allocations: 119.9 kB / 0.5074 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.3852, allocations: 3.48 MB / 0.5108 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.3855, allocations: 12 kB / 0.5108 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.3856, allocations: 31.98 kB / 0.5108 GB, free: 9.926 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 (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.3859, allocations: 193.8 kB / 0.511 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.3862, allocations: 51.52 kB / 0.5111 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3878, allocations: 0.815 MB / 0.5119 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.3889, allocations: 0.7674 MB / 0.5126 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3889, allocations: 0 / 0.5126 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.389, allocations: 108.7 kB / 0.5127 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.3891, allocations: 23.94 kB / 0.5128 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3895, allocations: 19.98 kB / 0.5128 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.3896, allocations: 32.39 kB / 0.5128 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001426/0.391, allocations: 0.6332 MB / 0.5134 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001631/0.3926, allocations: 0.9353 MB / 0.5143 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004383/0.3931, allocations: 235.4 kB / 0.5146 GB, free: 5.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.3934, allocations: 257.8 kB / 0.5148 GB, free: 5.715 MB / 446.1 MB Notification: Performance of Backend: time 6.71e-07/0.3934, allocations: 0 / 0.5148 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007341/0.4007, allocations: 2.442 MB / 0.5172 GB, free: 3.238 MB / 446.1 MB Notification: Performance of SimCode: time 0.001982/0.4027, allocations: 1.46 MB / 0.5186 GB, free: 1.73 MB / 446.1 MB Notification: Performance of Templates: time 0.1976/0.6004, allocations: 48.14 MB / 0.5656 GB, free: 117 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches