Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 250 MB, free: 8.98 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.83 kB / 367.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2306, allocations: 53.31 MB / 420.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03699/0.2675, allocations: 27.21 MB / 447.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.2747, allocations: 4.171 MB / 452.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.275, allocations: 7.938 kB / 452.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.2758, allocations: 206.7 kB / 452.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000971/0.2768, allocations: 342.2 kB / 452.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.2824, allocations: 1.479 MB / 454.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2842, allocations: 0.8873 MB / 455 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.2844, allocations: 80.64 kB / 455.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009436/0.2939, allocations: 4.076 MB / 459.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.2945, allocations: 286.9 kB / 459.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2946, allocations: 31.94 kB / 459.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.2968, allocations: 0.7259 MB / 460.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.297, allocations: 103.6 kB / 460.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.2973, allocations: 191.2 kB / 460.5 MB, free: 404 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.2993, allocations: 0.853 MB / 461.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2993, allocations: 0 / 461.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2993, allocations: 0 / 461.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.2993, allocations: 3.938 kB / 461.3 MB, free: 15.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001623/0.3009, allocations: 0.6697 MB / 462 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.301, allocations: 12.03 kB / 462 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/0.3018, allocations: 56.72 kB / 462.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.3027, allocations: 284.4 kB / 462.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3028, allocations: 20.94 kB / 462.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.3029, allocations: 32.38 kB / 462.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.3038, allocations: 342.5 kB / 462.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.3039, allocations: 7.984 kB / 462.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.3039, allocations: 16 kB / 462.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.3039, allocations: 4 kB / 462.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.3045, allocations: 214 kB / 463 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.3231, allocations: 5.904 MB / 468.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.3236, allocations: 178.5 kB / 469 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3238, allocations: 84.84 kB / 469.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.3369, allocations: 3.889 MB / 473 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.337, allocations: 30.56 kB / 473 MB, free: 2.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.454e-06/0.337, allocations: 0 / 473 MB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006653/0.3436, allocations: 1.413 MB / 474.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3437, allocations: 63.39 kB / 474.5 MB, free: 1.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.344, allocations: 262.5 kB / 474.8 MB, free: 1.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.3441, allocations: 29.7 kB / 474.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3442, allocations: 188.5 kB / 475 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.3443, allocations: 99.16 kB / 475.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3444, allocations: 65.66 kB / 475.1 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3446, allocations: 334.8 kB / 475.5 MB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3448, allocations: 95.95 kB / 475.6 MB, free: 232 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.345, allocations: 190.8 kB / 475.8 MB, free: 0 / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.3455, allocations: 303 kB / 476 MB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3455, allocations: 4 kB / 476.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007533/0.3463, allocations: 391.1 kB / 476.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3463, allocations: 8 kB / 476.4 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3463, allocations: 4 kB / 476.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/0.3506, allocations: 0.9352 MB / 477.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.3509, allocations: 67.91 kB / 477.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.3528, allocations: 1.982 MB / 479.4 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.353, allocations: 12.16 kB / 479.4 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.353, allocations: 16 kB / 479.5 MB, free: 12.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.3532, allocations: 149.8 kB / 479.6 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.3533, allocations: 35.75 kB / 479.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.3542, allocations: 490.2 kB / 480.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3542, allocations: 8 kB / 480.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3542, allocations: 11.94 kB / 480.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007689/0.355, allocations: 0.7085 MB / 480.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.3565, allocations: 0.9462 MB / 481.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3565, allocations: 0 / 481.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.3567, allocations: 51.91 kB / 481.8 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.3586, allocations: 312.5 kB / 482.1 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3586, allocations: 8 kB / 482.2 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000594/0.3592, allocations: 0.646 MB / 482.8 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3592, allocations: 4.031 kB / 482.8 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3603, allocations: 0.7178 MB / 483.5 MB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3604, allocations: 105 kB / 483.6 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.3604, allocations: 7.984 kB / 483.6 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3606, allocations: 8 kB / 483.6 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3607, allocations: 15.98 kB / 483.7 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3607, allocations: 7.984 kB / 483.7 MB, free: 7.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3609, allocations: 194 kB / 483.9 MB, free: 7.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 483.9 MB, free: 7.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.3616, allocations: 191.6 kB / 484 MB, free: 7.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/0.3623, allocations: 266.9 kB / 484.3 MB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.3632, allocations: 439.5 kB / 484.7 MB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3632, allocations: 0 / 484.7 MB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.3638, allocations: 231.6 kB / 485 MB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.3647, allocations: 172.1 kB / 485.1 MB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3661, allocations: 0.8109 MB / 485.9 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.3666, allocations: 0.7798 MB / 486.7 MB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.3668, allocations: 50.95 kB / 486.8 MB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.3668, allocations: 27.42 kB / 486.8 MB, free: 4.414 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3668, allocations: 0 / 486.8 MB, free: 4.414 MB / 398.1 MB Notification: Performance of Templates: time 0.01928/0.3861, allocations: 10.06 MB / 496.9 MB, free: 10.42 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches