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.001616/0.001616, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 58.62 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08443, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1933/0.2778, allocations: 50.66 MB / 408.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.284, allocations: 5.197 MB / 413.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.2843, allocations: 3.781 kB / 413.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.2851, allocations: 248.6 kB / 413.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.2858, allocations: 366.3 kB / 413.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01758/0.3034, allocations: 7.11 MB / 421 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3046, allocations: 1.103 MB / 422.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.3049, allocations: 149.8 kB / 422.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006181/0.3111, allocations: 3.59 MB / 425.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.3117, allocations: 398.7 kB / 426.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3118, allocations: 60 kB / 426.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/0.3283, allocations: 9.776 MB / 436.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.3287, allocations: 239.4 kB / 436.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.3291, allocations: 302.9 kB / 436.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3422, allocations: 5.516 MB / 442.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3422, allocations: 0 / 442.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3423, allocations: 0 / 442.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.3423, allocations: 0 / 442.1 MB, free: 6.902 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.003541/0.3458, allocations: 1.365 MB / 443.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3459, allocations: 19.95 kB / 443.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.3463, allocations: 55.44 kB / 443.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.3468, allocations: 366 kB / 443.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3468, allocations: 33 kB / 444 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.3469, allocations: 40 kB / 444 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3482, allocations: 0.5881 MB / 444.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3482, allocations: 8 kB / 444.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.3483, allocations: 16 kB / 444.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3483, allocations: 8 kB / 444.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3496, allocations: 0.7534 MB / 445.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3652, allocations: 11.96 MB / 457.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3664, allocations: 0.5197 MB / 457.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.3668, allocations: 261 kB / 458.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.3808, allocations: 11.9 MB / 470 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3808, allocations: 43 kB / 470.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.953e-06/0.3808, allocations: 0 / 470.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.00556/0.3864, allocations: 2.125 MB / 472.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3865, allocations: 55.97 kB / 472.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3868, allocations: 318.9 kB / 472.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3869, allocations: 33.7 kB / 472.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.387, allocations: 212.3 kB / 472.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.3871, allocations: 185.3 kB / 473 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3873, allocations: 118.1 kB / 473.1 MB, free: 3.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3874, allocations: 346.8 kB / 473.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.3878, allocations: 237 kB / 473.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.3885, allocations: 343.3 kB / 474 MB, free: 2.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3896, allocations: 0.5956 MB / 474.6 MB, free: 1.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3896, allocations: 0 / 474.6 MB, free: 1.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001791/0.3914, allocations: 0.7596 MB / 475.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3914, allocations: 8 kB / 475.4 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3914, allocations: 0 / 475.4 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/0.3919, allocations: 106.6 kB / 475.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.3924, allocations: 131.8 kB / 475.6 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.3949, allocations: 3.464 MB / 479.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.3952, allocations: 20.02 kB / 479.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.3953, allocations: 28 kB / 479.1 MB, free: 12.91 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.0002463/0.3955, allocations: 205.7 kB / 479.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.3958, allocations: 43.53 kB / 479.3 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.3974, allocations: 0.8229 MB / 480.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3974, allocations: 4 kB / 480.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3974, allocations: 0 / 480.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.3985, allocations: 0.7597 MB / 480.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.4008, allocations: 1.305 MB / 482.2 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4008, allocations: 4 kB / 482.2 MB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.4013, allocations: 99.88 kB / 482.3 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009039/0.4022, allocations: 148.7 kB / 482.5 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.4023, allocations: 15.94 kB / 482.5 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/0.4027, allocations: 0.6406 MB / 483.1 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4027, allocations: 0 / 483.1 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4044, allocations: 0.9238 MB / 484.1 MB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4045, allocations: 112.8 kB / 484.2 MB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.4046, allocations: 12 kB / 484.2 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.405, allocations: 23.98 kB / 484.2 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4051, allocations: 32.39 kB / 484.2 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.4052, allocations: 27.98 kB / 484.3 MB, free: 7.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002766/0.4055, allocations: 257.9 kB / 484.5 MB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4055, allocations: 0 / 484.5 MB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003741/0.4092, allocations: 1.327 MB / 485.8 MB, free: 5.914 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.005669/0.4149, allocations: 1.696 MB / 487.5 MB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.4166, allocations: 0.8508 MB / 488.4 MB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.4166, allocations: 4.188 kB / 488.4 MB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.4172, allocations: 291.1 kB / 488.7 MB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.4186, allocations: 280.2 kB / 489 MB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4205, allocations: 1.099 MB / 490.1 MB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4209, allocations: 0.8365 MB / 490.9 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005175/0.4214, allocations: 136.3 kB / 491 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4216, allocations: 67.41 kB / 491.1 MB, free: 0.582 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4216, allocations: 3.938 kB / 491.1 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of Templates: time 0.06097/0.4825, allocations: 45.15 MB / 0.5237 GB, free: 3.445 MB / 446.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