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.001203/0.001203, allocations: 94.69 kB / 16.94 MB, free: 5.98 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.001269/0.001269, allocations: 179.6 kB / 17.82 MB, free: 5.652 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.325/1.325, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004004/0.0004004, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08392, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01606/0.1, allocations: 16.38 MB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.1056, allocations: 4.775 MB / 349.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.1059, allocations: 0 / 349.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1066, allocations: 175.2 kB / 349.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.107, allocations: 227.4 kB / 349.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.1102, allocations: 1.2 MB / 351.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.1107, allocations: 0.4912 MB / 351.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1109, allocations: 72.69 kB / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008798/0.1197, allocations: 7.223 MB / 358.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.12, allocations: 175.3 kB / 359 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.12, allocations: 12 kB / 359 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.1214, allocations: 0.7336 MB / 359.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1215, allocations: 67.8 kB / 359.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.1216, allocations: 97.58 kB / 359.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.1223, allocations: 0.5965 MB / 360.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1223, allocations: 4 kB / 360.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1224, allocations: 0 / 360.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1224, allocations: 0 / 360.5 MB, free: 3.805 MB / 302.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.0008242/0.1232, allocations: 0.5885 MB / 361.1 MB, free: 3.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1232, allocations: 8.031 kB / 361.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.1237, allocations: 55.61 kB / 361.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.124, allocations: 266.6 kB / 361.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1241, allocations: 32.55 kB / 361.5 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.1241, allocations: 28 kB / 361.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.1246, allocations: 322.5 kB / 361.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1246, allocations: 15.89 kB / 361.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1246, allocations: 12 kB / 361.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1247, allocations: 4 kB / 361.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.125, allocations: 210 kB / 362.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.137, allocations: 5.912 MB / 368 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1373, allocations: 175.2 kB / 368.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009924/0.1472, allocations: 3.873 MB / 372 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1473, allocations: 38.7 kB / 372.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.1473, allocations: 3.938 kB / 372.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006065/0.1534, allocations: 1.424 MB / 373.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1535, allocations: 55.41 kB / 373.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1537, allocations: 258.6 kB / 373.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1538, allocations: 29.7 kB / 373.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1539, allocations: 188 kB / 374 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.154, allocations: 94.64 kB / 374.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.154, allocations: 8 kB / 374.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1541, allocations: 342.8 kB / 374.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1543, allocations: 83.97 kB / 374.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1545, allocations: 190.6 kB / 374.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1547, allocations: 120 kB / 374.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1547, allocations: 0 / 374.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006384/0.1553, allocations: 394.7 kB / 375.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1554, allocations: 8 kB / 375.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1554, allocations: 7.984 kB / 375.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/0.1587, allocations: 397.7 kB / 375.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.159, allocations: 71.91 kB / 375.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1604, allocations: 1.899 MB / 377.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1607, allocations: 16 kB / 377.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1607, allocations: 19.98 kB / 377.6 MB, free: 1.449 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1609, allocations: 153.8 kB / 377.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.1609, allocations: 27.72 kB / 377.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.1617, allocations: 0.49 MB / 378.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1617, allocations: 4 kB / 378.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1617, allocations: 3.953 kB / 378.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1441/0.3058, allocations: 0.7077 MB / 379 MB, free: 57.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3073, allocations: 0.9369 MB / 379.9 MB, free: 56.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3073, allocations: 0 / 379.9 MB, free: 56.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3075, allocations: 49.23 kB / 380 MB, free: 56.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3093, allocations: 329.1 kB / 380.3 MB, free: 56.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3094, allocations: 9.078 kB / 380.3 MB, free: 56.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/0.3097, allocations: 0.6366 MB / 380.9 MB, free: 56.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3098, allocations: 5.156 kB / 381 MB, free: 56.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.3107, allocations: 0.7482 MB / 381.7 MB, free: 56.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.3108, allocations: 108.5 kB / 381.8 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.3109, allocations: 11.34 kB / 381.8 MB, free: 55.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3111, allocations: 14.66 kB / 381.8 MB, free: 55.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3111, allocations: 18.23 kB / 381.8 MB, free: 55.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3112, allocations: 13.69 kB / 381.9 MB, free: 55.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.3114, allocations: 186.3 kB / 382 MB, free: 55.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3114, allocations: 7.469 kB / 382.1 MB, free: 55.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006713/0.312, allocations: 189.5 kB / 382.2 MB, free: 55.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006162/0.3127, allocations: 253.7 kB / 382.5 MB, free: 55.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.3135, allocations: 453.5 kB / 382.9 MB, free: 55.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3135, allocations: 3.844 kB / 382.9 MB, free: 55.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.3141, allocations: 223.7 kB / 383.1 MB, free: 55.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.3151, allocations: 165.3 kB / 383.3 MB, free: 55.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3164, allocations: 0.9467 MB / 384.3 MB, free: 54.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3167, allocations: 0.7879 MB / 385 MB, free: 54.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.3169, allocations: 49.97 kB / 385.1 MB, free: 54.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.317, allocations: 28.67 kB / 385.1 MB, free: 54.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.317, allocations: 0 / 385.1 MB, free: 54.23 MB / 318.1 MB Notification: Performance of Templates: time 0.01526/0.3323, allocations: 9.369 MB / 394.5 MB, free: 50.81 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/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