Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000941/0.000941, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.000206, allocations: 8 kB / 307.7 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.08224, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2176/0.2999, allocations: 65.97 MB / 425.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.3065, allocations: 5.483 MB / 430.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.307, allocations: 4 kB / 430.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.3079, allocations: 310.5 kB / 431 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.3088, allocations: 0.4897 MB / 431.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01894/0.3278, allocations: 6.26 MB / 437.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.3303, allocations: 2.308 MB / 440.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.3306, allocations: 173.9 kB / 440.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.3314, allocations: 0.5137 MB / 440.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.3322, allocations: 0.5722 MB / 441.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.444e-05/0.3323, allocations: 40 kB / 441.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01762/0.3499, allocations: 10.39 MB / 451.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.3503, allocations: 267.2 kB / 452 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.3508, allocations: 412.1 kB / 452.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.3619, allocations: 6.018 MB / 458.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.362, allocations: 4 kB / 458.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.362, allocations: 0 / 458.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.362, allocations: 0 / 458.4 MB, free: 8.035 MB / 366.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.003252/0.3652, allocations: 1.415 MB / 459.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3653, allocations: 8.031 kB / 459.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.3657, allocations: 83.23 kB / 460 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.3663, allocations: 444.8 kB / 460.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.3663, allocations: 45.31 kB / 460.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3664, allocations: 67.94 kB / 460.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3682, allocations: 0.8068 MB / 461.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.3682, allocations: 7.844 kB / 461.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.3683, allocations: 28 kB / 461.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3683, allocations: 16 kB / 461.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3702, allocations: 1.02 MB / 462.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.3871, allocations: 12.83 MB / 475.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.3889, allocations: 0.7576 MB / 476 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.3895, allocations: 414.6 kB / 476.4 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/0.4043, allocations: 12.3 MB / 488.7 MB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4044, allocations: 47.59 kB / 488.7 MB, free: 5.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.4044, allocations: 3.938 kB / 488.7 MB, free: 5.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009832/0.4142, allocations: 3.416 MB / 492.1 MB, free: 1.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4143, allocations: 64.41 kB / 492.2 MB, free: 1.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.4147, allocations: 352.5 kB / 492.5 MB, free: 1.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.4148, allocations: 45.7 kB / 492.6 MB, free: 1.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4149, allocations: 244.6 kB / 492.8 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.4152, allocations: 303.6 kB / 493.1 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4153, allocations: 77.61 kB / 493.2 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4154, allocations: 362.8 kB / 493.6 MB, free: 148 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.4161, allocations: 369.8 kB / 493.9 MB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.417, allocations: 492.2 kB / 494.4 MB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.4187, allocations: 0.9098 MB / 495.3 MB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4187, allocations: 0 / 495.3 MB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002598/0.4213, allocations: 1.117 MB / 496.4 MB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4214, allocations: 7.938 kB / 496.4 MB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4214, allocations: 4 kB / 496.4 MB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.4222, allocations: 167.5 kB / 496.6 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.423, allocations: 187.8 kB / 496.8 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.4256, allocations: 3.908 MB / 0.489 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.4262, allocations: 67.94 kB / 0.489 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/0.4263, allocations: 43.98 kB / 0.4891 GB, free: 8.488 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 (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.0003509/0.4267, allocations: 232.8 kB / 0.4893 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.427, allocations: 59.44 kB / 0.4893 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.4295, allocations: 1.288 MB / 0.4906 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4295, allocations: 8 kB / 0.4906 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4295, allocations: 0 / 0.4906 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/0.4313, allocations: 1.324 MB / 0.4919 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.4345, allocations: 1.967 MB / 0.4938 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4345, allocations: 4 kB / 0.4938 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.4353, allocations: 159.8 kB / 0.494 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.4371, allocations: 305.1 kB / 0.4943 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.4372, allocations: 35.97 kB / 0.4943 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007348/0.4379, allocations: 1.285 MB / 0.4956 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4379, allocations: 8.125 kB / 0.4956 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.4405, allocations: 1.409 MB / 0.4969 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4407, allocations: 140.6 kB / 0.4971 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4408, allocations: 19.98 kB / 0.4971 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.4415, allocations: 59.75 kB / 0.4972 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.4416, allocations: 60.86 kB / 0.4972 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.4417, allocations: 43.97 kB / 0.4973 GB, free: 15.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.4421, allocations: 283 kB / 0.4975 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4421, allocations: 0 / 0.4975 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003891/0.446, allocations: 1.409 MB / 0.4989 GB, free: 14.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006113/0.4521, allocations: 1.725 MB / 0.5006 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.4544, allocations: 1.152 MB / 0.5017 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4544, allocations: 4 kB / 0.5017 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.4553, allocations: 492 kB / 0.5022 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.4574, allocations: 376 kB / 0.5025 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.4604, allocations: 2.042 MB / 0.5045 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.4609, allocations: 0.9167 MB / 0.5054 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007536/0.4617, allocations: 201.4 kB / 0.5056 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.4619, allocations: 79.41 kB / 0.5057 GB, free: 7.027 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4619, allocations: 0 / 0.5057 GB, free: 7.027 MB / 430.1 MB Notification: Performance of Templates: time 0.2162/0.6781, allocations: 49.16 MB / 0.5537 GB, free: 141.7 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches