Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.2 kB / 17.75 MB, free: 5.352 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.001671/0.001671, allocations: 186.5 kB / 18.68 MB, free: 4.43 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.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009983, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2038, allocations: 49.42 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06118/0.265, allocations: 65.59 MB / 467 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.271, allocations: 5.453 MB / 472.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2713, allocations: 11.94 kB / 472.5 MB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.2722, allocations: 361.9 kB / 472.8 MB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.2729, allocations: 0.505 MB / 473.3 MB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01588/0.2888, allocations: 7.449 MB / 480.8 MB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.2904, allocations: 1.551 MB / 482.3 MB, free: 7.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.2907, allocations: 220.8 kB / 482.5 MB, free: 7.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.2917, allocations: 0.6425 MB / 483.2 MB, free: 6.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.2925, allocations: 0.5683 MB / 483.8 MB, free: 6.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.2927, allocations: 80 kB / 483.8 MB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.3082, allocations: 10.21 MB / 494 MB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.3085, allocations: 311.3 kB / 494.3 MB, free: 11.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005816/0.3091, allocations: 442.4 kB / 494.8 MB, free: 11.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.3178, allocations: 5.937 MB / 0.489 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3178, allocations: 0 / 0.489 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3178, allocations: 0 / 0.489 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.3179, allocations: 4 kB / 0.489 GB, free: 5.312 MB / 414.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.003542/0.3214, allocations: 1.563 MB / 0.4905 GB, free: 3.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3215, allocations: 11.89 kB / 0.4905 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.3219, allocations: 83.23 kB / 0.4906 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.3226, allocations: 448.8 kB / 0.491 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3226, allocations: 49.31 kB / 0.4911 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.3228, allocations: 64 kB / 0.4911 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3246, allocations: 0.8029 MB / 0.4919 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.3246, allocations: 0 / 0.4919 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.3247, allocations: 35.98 kB / 0.492 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3247, allocations: 20 kB / 0.492 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3266, allocations: 1.024 MB / 0.493 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.3432, allocations: 12.78 MB / 0.5054 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3449, allocations: 0.737 MB / 0.5062 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.3455, allocations: 411.9 kB / 0.5066 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.3598, allocations: 12.24 MB / 0.5185 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3599, allocations: 43.22 kB / 0.5186 GB, free: 2.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.285e-06/0.3599, allocations: 8 kB / 0.5186 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009557/0.3694, allocations: 3.377 MB / 0.5219 GB, free: 14.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3695, allocations: 60.41 kB / 0.5219 GB, free: 14.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.3699, allocations: 356.5 kB / 0.5223 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.37, allocations: 41.7 kB / 0.5223 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3701, allocations: 240.7 kB / 0.5225 GB, free: 14.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.3704, allocations: 307.5 kB / 0.5228 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.3706, allocations: 162.5 kB / 0.523 GB, free: 13.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3707, allocations: 362.8 kB / 0.5233 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.3713, allocations: 373.8 kB / 0.5237 GB, free: 12.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/0.3723, allocations: 496.1 kB / 0.5242 GB, free: 12.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.374, allocations: 0.906 MB / 0.525 GB, free: 11.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3741, allocations: 3.938 kB / 0.525 GB, free: 11.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002623/0.3767, allocations: 1.109 MB / 0.5261 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3767, allocations: 7.938 kB / 0.5261 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3767, allocations: 4 kB / 0.5261 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.3776, allocations: 167.5 kB / 0.5263 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.3783, allocations: 191.8 kB / 0.5265 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.3811, allocations: 4.12 MB / 0.5305 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.3815, allocations: 20 kB / 0.5305 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.3817, allocations: 43.98 kB / 0.5306 GB, free: 5.516 MB / 462.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.000318/0.382, allocations: 222.3 kB / 0.5308 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.3824, allocations: 59.44 kB / 0.5308 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.3848, allocations: 1.288 MB / 0.5321 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/0.3866, allocations: 1.316 MB / 0.5334 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3866, allocations: 3.938 kB / 0.5334 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3868, allocations: 124.5 kB / 0.5335 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3869, allocations: 20 kB / 0.5335 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.3874, allocations: 31.97 kB / 0.5335 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3875, allocations: 56.94 kB / 0.5336 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002277/0.3898, allocations: 1.015 MB / 0.5346 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1696/0.5594, allocations: 1.414 MB / 0.536 GB, free: 138.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008393/0.5603, allocations: 396.8 kB / 0.5364 GB, free: 138.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.5606, allocations: 281.3 kB / 0.5366 GB, free: 138.9 MB / 462.1 MB Notification: Performance of Backend: time 3.6e-07/0.5606, allocations: 4.344 kB / 0.5366 GB, free: 138.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007462/0.5681, allocations: 2.741 MB / 0.5393 GB, free: 138.4 MB / 462.1 MB Notification: Performance of SimCode: time 0.002105/0.5702, allocations: 1.9 MB / 0.5412 GB, free: 137.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04771/0.6179, allocations: 52.96 MB / 0.5929 GB, free: 89.19 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches