Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.38 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09249, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2174/0.3099, allocations: 50.57 MB / 408.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007175/0.3171, allocations: 5.173 MB / 413.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.3176, allocations: 3.656 kB / 413.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.3187, allocations: 217 kB / 413.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000977/0.3197, allocations: 343.7 kB / 413.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01995/0.3396, allocations: 6.444 MB / 420.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.3411, allocations: 1.102 MB / 421.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.3414, allocations: 157.8 kB / 421.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006722/0.3481, allocations: 3.745 MB / 425.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006573/0.3488, allocations: 422.6 kB / 425.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.349, allocations: 56 kB / 425.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01775/0.3667, allocations: 9.912 MB / 435.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.3671, allocations: 231.5 kB / 436 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.3676, allocations: 310.8 kB / 436.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007786/0.3754, allocations: 3.801 MB / 440.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3754, allocations: 3.938 kB / 440.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3754, allocations: 4 kB / 440.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3755, allocations: 0 / 440.1 MB, free: 9.352 MB / 350.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.003358/0.3788, allocations: 1.361 MB / 441.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3789, allocations: 8.031 kB / 441.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.3792, allocations: 68.3 kB / 441.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3797, allocations: 365.9 kB / 441.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3797, allocations: 33 kB / 441.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.3798, allocations: 44 kB / 442 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3811, allocations: 0.5765 MB / 442.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3811, allocations: 0 / 442.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.3812, allocations: 24 kB / 442.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3812, allocations: 8 kB / 442.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3826, allocations: 0.7417 MB / 443.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.3984, allocations: 11.97 MB / 455.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.3997, allocations: 0.5198 MB / 455.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.4001, allocations: 256.4 kB / 456.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/0.4144, allocations: 11.91 MB / 468 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4145, allocations: 46.94 kB / 468 MB, free: 8.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.4145, allocations: 0 / 468 MB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005774/0.4203, allocations: 2.119 MB / 470.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.4203, allocations: 55.97 kB / 470.2 MB, free: 6.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.4207, allocations: 322.9 kB / 470.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.4208, allocations: 37.7 kB / 470.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4209, allocations: 208.3 kB / 470.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.421, allocations: 189.3 kB / 470.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.4212, allocations: 114.1 kB / 471 MB, free: 5.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4214, allocations: 346.8 kB / 471.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.4217, allocations: 241 kB / 471.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.4224, allocations: 339.3 kB / 471.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.4235, allocations: 0.5995 MB / 472.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.4235, allocations: 0 / 472.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001769/0.4253, allocations: 0.7479 MB / 473.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4253, allocations: 11.98 kB / 473.3 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4253, allocations: 0 / 473.3 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.4258, allocations: 114.7 kB / 473.4 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.4263, allocations: 124.7 kB / 473.5 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.4287, allocations: 3.469 MB / 477 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.4291, allocations: 36.2 kB / 477 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.4292, allocations: 35.98 kB / 477.1 MB, free: 15.36 MB / 398.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.0002862/0.4295, allocations: 197.6 kB / 477.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.4298, allocations: 47.53 kB / 477.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.4313, allocations: 0.8189 MB / 478.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4314, allocations: 15.97 kB / 478.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4314, allocations: 0 / 478.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.4324, allocations: 0.7596 MB / 478.9 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4346, allocations: 1.298 MB / 480.2 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4346, allocations: 0 / 480.2 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.435, allocations: 107.9 kB / 480.3 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009332/0.436, allocations: 152.5 kB / 480.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.436, allocations: 19.94 kB / 480.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003983/0.4365, allocations: 0.6368 MB / 481.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4365, allocations: 0 / 481.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4382, allocations: 0.9121 MB / 482 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4384, allocations: 116.7 kB / 482.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.4385, allocations: 11.98 kB / 482.2 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.439, allocations: 27.98 kB / 482.2 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.4391, allocations: 36.39 kB / 482.2 MB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.4391, allocations: 31.97 kB / 482.2 MB, free: 9.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.4394, allocations: 257.9 kB / 482.5 MB, free: 9.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4394, allocations: 0 / 482.5 MB, free: 9.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003857/0.4433, allocations: 1.32 MB / 483.8 MB, free: 8.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006581/0.4499, allocations: 1.705 MB / 485.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.4518, allocations: 0.8586 MB / 486.4 MB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4519, allocations: 0 / 486.4 MB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4525, allocations: 291.2 kB / 486.7 MB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.4541, allocations: 288.7 kB / 486.9 MB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.4565, allocations: 1.296 MB / 488.2 MB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.457, allocations: 0.8287 MB / 489.1 MB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.4573, allocations: 71.41 kB / 489.1 MB, free: 2.938 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4573, allocations: 0 / 489.1 MB, free: 2.938 MB / 398.1 MB Notification: Performance of Templates: time 0.04904/0.5064, allocations: 34.07 MB / 0.5109 GB, free: 0.8711 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches