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.001046/0.001046, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2478, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04888/0.2967, allocations: 50.66 MB / 459.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.3024, allocations: 5.191 MB / 465.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3026, allocations: 7.938 kB / 465.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.3033, allocations: 246.6 kB / 465.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.3039, allocations: 365.9 kB / 465.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01532/0.3192, allocations: 7.125 MB / 472.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3204, allocations: 1.091 MB / 473.9 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3207, allocations: 145.5 kB / 474.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005915/0.3266, allocations: 3.594 MB / 477.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004788/0.3271, allocations: 402.6 kB / 478.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.783e-05/0.3272, allocations: 60 kB / 478.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.3431, allocations: 9.951 MB / 488.1 MB, free: 2.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.3435, allocations: 231.4 kB / 488.3 MB, free: 2.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.3439, allocations: 306.9 kB / 488.6 MB, free: 2.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.3552, allocations: 5.52 MB / 494.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3552, allocations: 0 / 494.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3552, allocations: 4 kB / 494.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3553, allocations: 0 / 494.1 MB, free: 12.47 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00305/0.3583, allocations: 1.357 MB / 495.5 MB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3584, allocations: 12.03 kB / 495.5 MB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.3587, allocations: 55.52 kB / 495.5 MB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.3592, allocations: 378 kB / 495.9 MB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3592, allocations: 29 kB / 495.9 MB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3593, allocations: 44 kB / 496 MB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.3605, allocations: 0.5804 MB / 496.6 MB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3605, allocations: 4 kB / 496.6 MB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.3606, allocations: 20 kB / 496.6 MB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3606, allocations: 12 kB / 496.6 MB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3619, allocations: 0.7456 MB / 497.3 MB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.3769, allocations: 11.97 MB / 0.4974 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3781, allocations: 0.5274 MB / 0.4979 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.3785, allocations: 261 kB / 0.4981 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.3925, allocations: 11.89 MB / 0.5097 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3926, allocations: 43 kB / 0.5098 GB, free: 12.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.3926, allocations: 3.938 kB / 0.5098 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005686/0.3983, allocations: 2.112 MB / 0.5119 GB, free: 9.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3983, allocations: 67.91 kB / 0.5119 GB, free: 9.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3987, allocations: 318.9 kB / 0.5122 GB, free: 9.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.3987, allocations: 37.7 kB / 0.5123 GB, free: 9.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3989, allocations: 196.4 kB / 0.5124 GB, free: 9.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.399, allocations: 197.2 kB / 0.5126 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3992, allocations: 114.1 kB / 0.5127 GB, free: 8.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3993, allocations: 350.8 kB / 0.5131 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3997, allocations: 241 kB / 0.5133 GB, free: 8.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.4004, allocations: 339.4 kB / 0.5136 GB, free: 7.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.4016, allocations: 0.5956 MB / 0.5142 GB, free: 7.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4016, allocations: 0 / 0.5142 GB, free: 7.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0018/0.4034, allocations: 0.752 MB / 0.515 GB, free: 6.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4034, allocations: 7.938 kB / 0.515 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4034, allocations: 7.938 kB / 0.515 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.4039, allocations: 98.52 kB / 0.5151 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.4044, allocations: 131.8 kB / 0.5152 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.4069, allocations: 3.48 MB / 0.5186 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.4072, allocations: 16 kB / 0.5186 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.4073, allocations: 35.92 kB / 0.5186 GB, free: 2.465 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.0002458/0.4075, allocations: 197.5 kB / 0.5188 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.4078, allocations: 43.62 kB / 0.5189 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.4094, allocations: 0.8152 MB / 0.5197 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4094, allocations: 8 kB / 0.5197 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4094, allocations: 0 / 0.5197 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.4105, allocations: 0.7557 MB / 0.5204 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.4126, allocations: 1.309 MB / 0.5217 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4126, allocations: 0 / 0.5217 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.413, allocations: 99.88 kB / 0.5218 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.414, allocations: 160.5 kB / 0.5219 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.4141, allocations: 19.98 kB / 0.522 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004184/0.4145, allocations: 0.6445 MB / 0.5226 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4145, allocations: 0 / 0.5226 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.4162, allocations: 0.9055 MB / 0.5235 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4163, allocations: 116.7 kB / 0.5236 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.4164, allocations: 12 kB / 0.5236 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.4168, allocations: 19.98 kB / 0.5236 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4169, allocations: 36.33 kB / 0.5236 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.4169, allocations: 27.97 kB / 0.5237 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.4172, allocations: 261.9 kB / 0.5239 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4172, allocations: 0 / 0.5239 GB, free: 12.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003457/0.4207, allocations: 1.32 MB / 0.5252 GB, free: 11.48 MB / 462.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.004817/0.4255, allocations: 1.691 MB / 0.5269 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.427, allocations: 0.8037 MB / 0.5276 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.427, allocations: 0.5625 kB / 0.5276 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.4275, allocations: 299.2 kB / 0.5279 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4289, allocations: 269.3 kB / 0.5282 GB, free: 8.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4306, allocations: 1.1 MB / 0.5293 GB, free: 7.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.431, allocations: 0.8287 MB / 0.5301 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004496/0.4315, allocations: 148.2 kB / 0.5302 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4317, allocations: 55.42 kB / 0.5303 GB, free: 6.211 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4317, allocations: 0 / 0.5303 GB, free: 6.211 MB / 462.1 MB Notification: Performance of Templates: time 0.2131/0.6448, allocations: 45.19 MB / 0.5744 GB, free: 100.8 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches