Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 104.7 kB / 17.93 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 189.9 kB / 18.86 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 51.92 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1005, allocations: 46.64 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0271/0.1277, allocations: 26.95 MB / 354.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.1327, allocations: 4.144 MB / 358.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.1331, allocations: 7.938 kB / 358.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.134, allocations: 175.1 kB / 358.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.1348, allocations: 326.3 kB / 359 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004503/0.1393, allocations: 1.292 MB / 360.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1404, allocations: 0.8835 MB / 361.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1407, allocations: 104.6 kB / 361.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.147, allocations: 4.348 MB / 365.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.1474, allocations: 286.9 kB / 365.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.1474, allocations: 32 kB / 366 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1488, allocations: 0.7375 MB / 366.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.149, allocations: 87.73 kB / 366.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.1492, allocations: 195.2 kB / 367 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.15, allocations: 0.6198 MB / 367.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.15, allocations: 4 kB / 367.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.15, allocations: 0 / 367.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.15, allocations: 0 / 367.6 MB, free: 12.48 MB / 318.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.0009083/0.1509, allocations: 0.6393 MB / 368.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.151, allocations: 8.031 kB / 368.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.1514, allocations: 56.55 kB / 368.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1518, allocations: 291.7 kB / 368.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1518, allocations: 20.94 kB / 368.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.1519, allocations: 32.38 kB / 368.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.1523, allocations: 338.6 kB / 369 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1524, allocations: 7.938 kB / 369 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1524, allocations: 16 kB / 369 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1524, allocations: 8 kB / 369 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1527, allocations: 206 kB / 369.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.1657, allocations: 5.912 MB / 375.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.166, allocations: 178.6 kB / 375.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.1662, allocations: 88.83 kB / 375.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1666/0.3328, allocations: 3.875 MB / 379.3 MB, free: 57.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3329, allocations: 36.7 kB / 379.3 MB, free: 57.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.3329, allocations: 0 / 379.3 MB, free: 57.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006303/0.3392, allocations: 1.399 MB / 380.7 MB, free: 57.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.3393, allocations: 64.78 kB / 380.8 MB, free: 57.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.3396, allocations: 264.9 kB / 381 MB, free: 57.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3397, allocations: 35.27 kB / 381 MB, free: 57.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.3398, allocations: 184.7 kB / 381.2 MB, free: 57.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.3398, allocations: 95.52 kB / 381.3 MB, free: 57.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.3399, allocations: 66.89 kB / 381.4 MB, free: 57.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.34, allocations: 341.8 kB / 381.7 MB, free: 56.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3402, allocations: 91.25 kB / 381.8 MB, free: 56.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.3404, allocations: 185.3 kB / 382 MB, free: 56.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.3408, allocations: 310.4 kB / 382.3 MB, free: 56.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3409, allocations: 0.9688 kB / 382.3 MB, free: 56.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006318/0.3415, allocations: 389.8 kB / 382.7 MB, free: 56.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3415, allocations: 5.281 kB / 382.7 MB, free: 56.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3415, allocations: 3.25 kB / 382.7 MB, free: 56.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/0.3458, allocations: 0.9487 MB / 383.6 MB, free: 56.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3461, allocations: 67.33 kB / 383.7 MB, free: 56.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3472, allocations: 1.982 MB / 385.7 MB, free: 54.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.3475, allocations: 25.22 kB / 385.7 MB, free: 54.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.3476, allocations: 17.66 kB / 385.7 MB, free: 54.33 MB / 318.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.0001614/0.3477, allocations: 158 kB / 385.9 MB, free: 54.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.3478, allocations: 25.16 kB / 385.9 MB, free: 54.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.3485, allocations: 498.5 kB / 386.4 MB, free: 53.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3485, allocations: 8.719 kB / 386.4 MB, free: 53.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.3485, allocations: 1.062 kB / 386.4 MB, free: 53.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005458/0.3491, allocations: 0.7114 MB / 387.1 MB, free: 53.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3503, allocations: 0.9447 MB / 388.1 MB, free: 52.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3503, allocations: 1.031 kB / 388.1 MB, free: 52.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3505, allocations: 48.45 kB / 388.1 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.3523, allocations: 320.6 kB / 388.4 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3523, allocations: 12.78 kB / 388.4 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/0.3527, allocations: 0.6378 MB / 389.1 MB, free: 52.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3527, allocations: 5.781 kB / 389.1 MB, free: 52.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.3536, allocations: 0.7279 MB / 389.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.3536, allocations: 102.7 kB / 389.9 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.3537, allocations: 6.953 kB / 389.9 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3539, allocations: 20.89 kB / 389.9 MB, free: 51.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.354, allocations: 21.3 kB / 389.9 MB, free: 51.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.354, allocations: 14.81 kB / 390 MB, free: 51.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3542, allocations: 183.8 kB / 390.1 MB, free: 51.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3542, allocations: 0 / 390.1 MB, free: 51.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008338/0.355, allocations: 190.3 kB / 390.3 MB, free: 51.42 MB / 318.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.0006437/0.3557, allocations: 264.4 kB / 390.6 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009242/0.3566, allocations: 464 kB / 391 MB, free: 51.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3566, allocations: 1.125 kB / 391 MB, free: 51.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.3572, allocations: 238.4 kB / 391.3 MB, free: 50.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.3581, allocations: 171.9 kB / 391.4 MB, free: 50.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3594, allocations: 0.9502 MB / 392.4 MB, free: 50.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3597, allocations: 0.7788 MB / 393.2 MB, free: 49.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.3598, allocations: 30.25 kB / 393.2 MB, free: 49.6 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3598, allocations: 0 / 393.2 MB, free: 49.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01225/0.372, allocations: 8.382 MB / 401.6 MB, free: 44.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches