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.001401/0.001401, allocations: 108.4 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.001521/0.001521, allocations: 186.9 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.344/1.344, allocations: 205.1 MB / 225.1 MB, free: 12.24 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.001241/0.001242, allocations: 48.39 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08754, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03331/0.1209, allocations: 37.45 MB / 366.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.1262, allocations: 4.58 MB / 370.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.1264, allocations: 4 kB / 370.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.1272, allocations: 298.2 kB / 371 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.1281, allocations: 481.3 kB / 371.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.1319, allocations: 1.641 MB / 373.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1332, allocations: 1.276 MB / 374.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1334, allocations: 166.4 kB / 374.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.1339, allocations: 466.5 kB / 375 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.1344, allocations: 410.4 kB / 375.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.1344, allocations: 52 kB / 375.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.1357, allocations: 0.7493 MB / 376.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1359, allocations: 139.5 kB / 376.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.1362, allocations: 275 kB / 376.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1373, allocations: 1.056 MB / 377.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1373, allocations: 0 / 377.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1374, allocations: 0 / 377.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1374, allocations: 0 / 377.7 MB, free: 2.578 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.001014/0.1384, allocations: 0.7759 MB / 378.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1384, allocations: 8.031 kB / 378.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.139, allocations: 84.33 kB / 378.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.1395, allocations: 347.3 kB / 378.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1396, allocations: 29.38 kB / 378.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.1396, allocations: 40.38 kB / 379 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.1403, allocations: 479.6 kB / 379.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1403, allocations: 4 kB / 379.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.1404, allocations: 16 kB / 379.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1404, allocations: 8 kB / 379.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.1408, allocations: 307.7 kB / 379.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1419/0.2828, allocations: 6.717 MB / 386.5 MB, free: 54.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2832, allocations: 272.3 kB / 386.8 MB, free: 54.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2835, allocations: 158 kB / 386.9 MB, free: 54.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.2935, allocations: 3.891 MB / 390.8 MB, free: 52.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2936, allocations: 40.97 kB / 390.8 MB, free: 52.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.2936, allocations: 0 / 390.8 MB, free: 52.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0113/0.3049, allocations: 2.452 MB / 393.3 MB, free: 50.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.3049, allocations: 55.56 kB / 393.3 MB, free: 50.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.3052, allocations: 305.1 kB / 393.6 MB, free: 50.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3052, allocations: 38.02 kB / 393.7 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3053, allocations: 220.8 kB / 393.9 MB, free: 50.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.3054, allocations: 168.8 kB / 394.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3056, allocations: 97.72 kB / 394.2 MB, free: 50.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.3056, allocations: 351.3 kB / 394.5 MB, free: 49.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3058, allocations: 150 kB / 394.6 MB, free: 49.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3061, allocations: 278.9 kB / 394.9 MB, free: 49.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3067, allocations: 471.8 kB / 395.4 MB, free: 49.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3067, allocations: 1.844 kB / 395.4 MB, free: 49.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008971/0.3076, allocations: 0.5876 MB / 396 MB, free: 48.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3076, allocations: 6.875 kB / 396 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3076, allocations: 8.125 kB / 396 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007513/0.3151, allocations: 1.845 MB / 397.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.3155, allocations: 107 kB / 397.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.3168, allocations: 2.567 MB / 400.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.3171, allocations: 11.91 kB / 400.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3171, allocations: 27.88 kB / 400.5 MB, free: 45.38 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.0001611/0.3173, allocations: 181.4 kB / 400.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.3174, allocations: 39.22 kB / 400.8 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.3183, allocations: 0.8554 MB / 401.6 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.3183, allocations: 3.875 kB / 401.6 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3183, allocations: 0 / 401.6 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000714/0.319, allocations: 0.9587 MB / 402.6 MB, free: 43.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3205, allocations: 1.487 MB / 404.1 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3205, allocations: 0 / 404.1 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3208, allocations: 75.91 kB / 404.1 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.3239, allocations: 0.6217 MB / 404.8 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.324, allocations: 16.75 kB / 404.8 MB, free: 41.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/0.3246, allocations: 1.283 MB / 406.1 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3246, allocations: 0 / 406.1 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3257, allocations: 1.23 MB / 407.3 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.3258, allocations: 116.5 kB / 407.4 MB, free: 39.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.3259, allocations: 12 kB / 407.4 MB, free: 39.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3261, allocations: 12 kB / 407.4 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.3261, allocations: 33.09 kB / 407.5 MB, free: 39.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3262, allocations: 15.98 kB / 407.5 MB, free: 39.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3263, allocations: 213.9 kB / 407.7 MB, free: 38.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 0 / 407.7 MB, free: 38.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.327, allocations: 225.3 kB / 407.9 MB, free: 38.66 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.0004761/0.3274, allocations: 279.3 kB / 408.2 MB, free: 38.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.3284, allocations: 0.7129 MB / 408.9 MB, free: 37.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3284, allocations: 0 / 408.9 MB, free: 37.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.3292, allocations: 433.1 kB / 409.3 MB, free: 37.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3302, allocations: 234.3 kB / 409.5 MB, free: 37.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3316, allocations: 1.227 MB / 410.8 MB, free: 35.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3318, allocations: 0.84 MB / 411.6 MB, free: 34.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.3321, allocations: 70.41 kB / 411.7 MB, free: 34.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.3321, allocations: 35.44 kB / 411.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3321, allocations: 0 / 411.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of Templates: time 0.01475/0.3469, allocations: 12.65 MB / 424.4 MB, free: 22.22 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 cvode -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