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.001507/0.001507, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 209.7 kB / 18.79 MB, free: 4.695 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.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 61.66 kB / 306.9 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 50.53 MB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2305/0.3323, allocations: 52.32 MB / 409.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.3397, allocations: 5.274 MB / 415 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.3403, allocations: 7.594 kB / 415 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009771/0.3414, allocations: 213.7 kB / 415.2 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.3423, allocations: 361.5 kB / 415.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02205/0.3644, allocations: 5.972 MB / 421.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.3666, allocations: 1.602 MB / 423.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.3669, allocations: 120.4 kB / 423.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008509/0.3755, allocations: 3.655 MB / 426.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008641/0.3764, allocations: 422.5 kB / 427.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.3766, allocations: 28 kB / 427.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/0.3969, allocations: 10.08 MB / 437.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.3974, allocations: 195.5 kB / 437.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.3981, allocations: 274.9 kB / 437.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.4067, allocations: 3.805 MB / 441.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.4068, allocations: 0 / 441.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.4068, allocations: 4 kB / 441.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4068, allocations: 3.938 kB / 441.7 MB, free: 7.496 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.00386/0.4107, allocations: 1.354 MB / 443.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4107, allocations: 8.031 kB / 443.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.4111, allocations: 71.42 kB / 443.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.4116, allocations: 358.9 kB / 443.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.4117, allocations: 33 kB / 443.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.4117, allocations: 44 kB / 443.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4131, allocations: 0.5881 MB / 444.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.4131, allocations: 0 / 444.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.4132, allocations: 20 kB / 444.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.4132, allocations: 8 kB / 444.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.4146, allocations: 0.7495 MB / 444.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.4315, allocations: 11.97 MB / 456.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.433, allocations: 0.5287 MB / 457.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.4334, allocations: 255 kB / 457.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/0.4491, allocations: 11.9 MB / 469.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.4492, allocations: 39 kB / 469.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.296e-06/0.4492, allocations: 0 / 469.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006335/0.4555, allocations: 2.12 MB / 471.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4556, allocations: 55.97 kB / 471.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.456, allocations: 322.9 kB / 472.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.4561, allocations: 41.64 kB / 472.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4562, allocations: 196.3 kB / 472.4 MB, free: 4.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.4564, allocations: 193.3 kB / 472.5 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.4566, allocations: 114.1 kB / 472.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4567, allocations: 346.8 kB / 473 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.4571, allocations: 245 kB / 473.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.4578, allocations: 335.4 kB / 473.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.4589, allocations: 0.6034 MB / 474.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.459, allocations: 0 / 474.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001859/0.4608, allocations: 0.7519 MB / 474.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4609, allocations: 12.06 kB / 474.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4609, allocations: 4 kB / 474.9 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.4614, allocations: 106.4 kB / 475 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.4619, allocations: 127.8 kB / 475.2 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.4645, allocations: 3.268 MB / 478.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.465, allocations: 40.11 kB / 478.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.4651, allocations: 27.98 kB / 478.5 MB, free: 13.71 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.0003165/0.4654, allocations: 197.6 kB / 478.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.4657, allocations: 47.53 kB / 478.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.4674, allocations: 0.8189 MB / 479.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4674, allocations: 4 kB / 479.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4674, allocations: 4 kB / 479.6 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/0.4686, allocations: 0.7635 MB / 480.3 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.4709, allocations: 1.298 MB / 481.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4709, allocations: 4 kB / 481.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.4714, allocations: 99.83 kB / 481.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.4724, allocations: 148.7 kB / 481.9 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.4724, allocations: 15.98 kB / 481.9 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.4728, allocations: 0.6561 MB / 482.5 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4728, allocations: 0 / 482.5 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.4746, allocations: 0.9044 MB / 483.4 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4747, allocations: 124.7 kB / 483.6 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.4748, allocations: 19.98 kB / 483.6 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.4753, allocations: 31.86 kB / 483.6 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4754, allocations: 32.39 kB / 483.6 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.4755, allocations: 35.97 kB / 483.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.4758, allocations: 257.9 kB / 483.9 MB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4758, allocations: 0 / 483.9 MB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004038/0.4798, allocations: 1.323 MB / 485.3 MB, free: 6.691 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.006631/0.4865, allocations: 1.677 MB / 486.9 MB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4884, allocations: 0.7958 MB / 487.7 MB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4884, allocations: 0.5625 kB / 487.7 MB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.489, allocations: 295.1 kB / 488 MB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4906, allocations: 271.5 kB / 488.3 MB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4929, allocations: 1.317 MB / 489.6 MB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.4934, allocations: 0.8329 MB / 490.4 MB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.4936, allocations: 67.41 kB / 490.5 MB, free: 1.359 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4936, allocations: 0 / 490.5 MB, free: 1.359 MB / 398.1 MB Notification: Performance of Templates: time 0.04912/0.5427, allocations: 34.05 MB / 0.5123 GB, free: 15.3 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/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