Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001718/0.001718, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.312/1.312, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001244/0.001244, allocations: 55.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.08078, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0401/0.1209, allocations: 37.45 MB / 366.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.1282, allocations: 4.576 MB / 370.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.1286, allocations: 7.938 kB / 370.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1297, allocations: 302.2 kB / 371 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1309, allocations: 477.3 kB / 371.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006033/0.137, allocations: 1.649 MB / 373.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.1389, allocations: 1.265 MB / 374.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.1393, allocations: 174.4 kB / 374.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.1402, allocations: 470.4 kB / 375 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.141, allocations: 414.4 kB / 375.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.933e-05/0.1411, allocations: 44 kB / 375.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.1427, allocations: 0.7571 MB / 376.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1428, allocations: 131.6 kB / 376.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1431, allocations: 275 kB / 376.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1443, allocations: 1.052 MB / 377.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1443, allocations: 0 / 377.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1443, allocations: 4 kB / 377.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1443, allocations: 0 / 377.7 MB, free: 2.586 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001011/0.1454, allocations: 0.772 MB / 378.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1454, allocations: 12.03 kB / 378.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.146, allocations: 80.34 kB / 378.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.1465, allocations: 347.3 kB / 378.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1465, allocations: 29.38 kB / 378.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.1466, allocations: 44.31 kB / 379 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.1472, allocations: 471.7 kB / 379.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1473, allocations: 7.938 kB / 379.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1473, allocations: 20 kB / 379.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1473, allocations: 8 kB / 379.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1478, allocations: 307.6 kB / 379.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1466/0.2944, allocations: 6.718 MB / 386.5 MB, free: 54.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.2949, allocations: 270.4 kB / 386.8 MB, free: 54.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2951, allocations: 150.6 kB / 386.9 MB, free: 54.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3054, allocations: 3.897 MB / 390.8 MB, free: 52.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3054, allocations: 37.47 kB / 390.8 MB, free: 52.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3054, allocations: 4 kB / 390.8 MB, free: 52.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01135/0.3168, allocations: 2.446 MB / 393.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3168, allocations: 56.06 kB / 393.3 MB, free: 50.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.3171, allocations: 304.4 kB / 393.6 MB, free: 50.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3171, allocations: 39.89 kB / 393.7 MB, free: 50.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.3172, allocations: 224.9 kB / 393.9 MB, free: 50.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.3173, allocations: 160.8 kB / 394.1 MB, free: 50.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3174, allocations: 97.28 kB / 394.1 MB, free: 50.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.3175, allocations: 351.9 kB / 394.5 MB, free: 49.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3177, allocations: 153.4 kB / 394.6 MB, free: 49.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.318, allocations: 275.5 kB / 394.9 MB, free: 49.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3185, allocations: 471.9 kB / 395.4 MB, free: 49.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3185, allocations: 1.812 kB / 395.4 MB, free: 49.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009195/0.3195, allocations: 0.5881 MB / 396 MB, free: 48.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3195, allocations: 6.906 kB / 396 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3195, allocations: 2.719 kB / 396 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007521/0.327, allocations: 1.855 MB / 397.8 MB, free: 48.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.3274, allocations: 111.9 kB / 397.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.3287, allocations: 2.564 MB / 400.5 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.329, allocations: 11.97 kB / 400.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.329, allocations: 23.91 kB / 400.5 MB, free: 45.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.3292, allocations: 173.5 kB / 400.7 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3292, allocations: 42.81 kB / 400.7 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.3302, allocations: 0.8582 MB / 401.6 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3302, allocations: 7.562 kB / 401.6 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3302, allocations: 3.438 kB / 401.6 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007368/0.3309, allocations: 0.9585 MB / 402.6 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.3324, allocations: 1.487 MB / 404.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3324, allocations: 0 / 404.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.3327, allocations: 67.91 kB / 404.1 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.3357, allocations: 0.6294 MB / 404.8 MB, free: 41.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3358, allocations: 11.98 kB / 404.8 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005954/0.3364, allocations: 1.294 MB / 406.1 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3364, allocations: 4.797 kB / 406.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3375, allocations: 1.217 MB / 407.3 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.3375, allocations: 116.5 kB / 407.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.3376, allocations: 12 kB / 407.4 MB, free: 39.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3378, allocations: 8.812 kB / 407.4 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3379, allocations: 32 kB / 407.4 MB, free: 39.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.3379, allocations: 19.98 kB / 407.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3381, allocations: 211.1 kB / 407.7 MB, free: 38.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 407.7 MB, free: 38.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006117/0.3387, allocations: 235.4 kB / 407.9 MB, free: 38.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004713/0.3392, allocations: 286.9 kB / 408.2 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.3401, allocations: 0.6912 MB / 408.9 MB, free: 37.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3401, allocations: 0 / 408.9 MB, free: 37.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.3409, allocations: 441 kB / 409.3 MB, free: 37.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3419, allocations: 239.1 kB / 409.5 MB, free: 37.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3433, allocations: 1.211 MB / 410.8 MB, free: 35.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3435, allocations: 0.84 MB / 411.6 MB, free: 35.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.3437, allocations: 72.14 kB / 411.7 MB, free: 34.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.3438, allocations: 43.38 kB / 411.7 MB, free: 34.95 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3438, allocations: 0 / 411.7 MB, free: 34.95 MB / 318.1 MB Notification: Performance of Templates: time 0.01479/0.3586, allocations: 12.66 MB / 424.4 MB, free: 22.3 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches