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.000725/0.0007251, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.0007819/0.000782, allocations: 177 kB / 18.2 MB, free: 5.527 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.288/1.288, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004441/0.0004441, allocations: 8 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08502, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03274/0.1178, allocations: 36.91 MB / 365.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.1229, allocations: 4.557 MB / 370.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.1233, allocations: 7.938 kB / 370.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.1241, allocations: 246.7 kB / 370.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008758/0.125, allocations: 477.6 kB / 371.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.1291, allocations: 1.393 MB / 372.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.131, allocations: 1.955 MB / 374.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1312, allocations: 122.4 kB / 374.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.1318, allocations: 394.5 kB / 375 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.1323, allocations: 430.2 kB / 375.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.1324, allocations: 24 kB / 375.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1338, allocations: 0.7141 MB / 376.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1339, allocations: 103.6 kB / 376.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.1342, allocations: 276.6 kB / 376.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1354, allocations: 1.013 MB / 377.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1354, allocations: 3.938 kB / 377.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1354, allocations: 0 / 377.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1354, allocations: 4 kB / 377.5 MB, free: 3.008 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.000935/0.1364, allocations: 0.6747 MB / 378.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1364, allocations: 8.031 kB / 378.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.137, allocations: 80.34 kB / 378.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.1374, allocations: 351.2 kB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.1374, allocations: 33.38 kB / 378.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.1375, allocations: 40.38 kB / 378.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.1381, allocations: 475.7 kB / 379.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1381, allocations: 3.938 kB / 379.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1382, allocations: 20 kB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1382, allocations: 8 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.1387, allocations: 307.7 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1655/0.3042, allocations: 6.72 MB / 386.2 MB, free: 53.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3047, allocations: 276 kB / 386.5 MB, free: 53.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.305, allocations: 154.5 kB / 386.6 MB, free: 53.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3153, allocations: 3.884 MB / 390.5 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.3154, allocations: 43.28 kB / 390.6 MB, free: 51.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.3154, allocations: 0 / 390.6 MB, free: 51.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01164/0.327, allocations: 2.475 MB / 393 MB, free: 50.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.3271, allocations: 60.41 kB / 393.1 MB, free: 50.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.3274, allocations: 304.2 kB / 393.4 MB, free: 50.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3274, allocations: 35.86 kB / 393.4 MB, free: 50.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3276, allocations: 222.9 kB / 393.7 MB, free: 50.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.3276, allocations: 168 kB / 393.8 MB, free: 50 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3277, allocations: 45.3 kB / 393.9 MB, free: 49.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.3278, allocations: 347.5 kB / 394.2 MB, free: 49.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.328, allocations: 150.5 kB / 394.4 MB, free: 49.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.3284, allocations: 278.8 kB / 394.6 MB, free: 49.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.3289, allocations: 468 kB / 395.1 MB, free: 49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3289, allocations: 5.375 kB / 395.1 MB, free: 49 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001008/0.33, allocations: 0.5934 MB / 395.7 MB, free: 48.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.33, allocations: 6.938 kB / 395.7 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.33, allocations: 3.969 kB / 395.7 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006459/0.3365, allocations: 0.778 MB / 396.5 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.3369, allocations: 109.1 kB / 396.6 MB, free: 48.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3384, allocations: 2.473 MB / 399 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3388, allocations: 32.39 kB / 399.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3389, allocations: 21.88 kB / 399.1 MB, free: 45.84 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.0002212/0.3391, allocations: 180.8 kB / 399.3 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.3392, allocations: 39.84 kB / 399.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3402, allocations: 0.8616 MB / 400.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3402, allocations: 7.859 kB / 400.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3402, allocations: 0 / 400.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007455/0.341, allocations: 0.9586 MB / 401.1 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.3426, allocations: 1.486 MB / 402.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3426, allocations: 0 / 402.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3429, allocations: 82.23 kB / 402.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.3462, allocations: 0.6342 MB / 403.3 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3463, allocations: 12 kB / 403.4 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006297/0.3469, allocations: 1.285 MB / 404.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3469, allocations: 0 / 404.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3481, allocations: 1.215 MB / 405.9 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3482, allocations: 128.5 kB / 406 MB, free: 40.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.3483, allocations: 8 kB / 406 MB, free: 40.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.3486, allocations: 27.98 kB / 406 MB, free: 40.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3486, allocations: 31.95 kB / 406 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3487, allocations: 12 kB / 406.1 MB, free: 40.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.3488, allocations: 210.6 kB / 406.3 MB, free: 39.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3489, allocations: 4 kB / 406.3 MB, free: 39.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007199/0.3496, allocations: 239.5 kB / 406.5 MB, free: 39.72 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.0005635/0.3501, allocations: 274.1 kB / 406.8 MB, free: 39.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3512, allocations: 0.6914 MB / 407.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3512, allocations: 0 / 407.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.352, allocations: 438.5 kB / 407.9 MB, free: 38.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.3533, allocations: 228.9 kB / 408.1 MB, free: 38.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3548, allocations: 1.532 MB / 409.6 MB, free: 36.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3551, allocations: 0.8363 MB / 410.5 MB, free: 35.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.3554, allocations: 68.34 kB / 410.5 MB, free: 35.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.3555, allocations: 35.44 kB / 410.6 MB, free: 35.62 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3555, allocations: 0 / 410.6 MB, free: 35.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01652/0.372, allocations: 12.13 MB / 422.7 MB, free: 23.51 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches