Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08207, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4074/0.4895, allocations: 125.5 MB / 433.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.491, allocations: 0.817 MB / 434.7 MB, free: 11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.491, allocations: 0 / 434.7 MB, free: 11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.4913, allocations: 30.66 kB / 434.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.4919, allocations: 208.6 kB / 434.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.4923, allocations: 100.4 kB / 435 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.4925, allocations: 105 kB / 435.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.4926, allocations: 5.625 kB / 435.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.4928, allocations: 88.33 kB / 435.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.4929, allocations: 44.36 kB / 435.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.493, allocations: 2.875 kB / 435.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.4936, allocations: 286.3 kB / 435.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.4937, allocations: 21.53 kB / 435.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.4937, allocations: 39.58 kB / 435.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.4941, allocations: 196.9 kB / 435.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4941, allocations: 0 / 435.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.322e-06/0.4942, allocations: 0.75 kB / 435.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.968e-06/0.4942, allocations: 0 / 435.8 MB, free: 10.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005316/0.4947, allocations: 389.7 kB / 436.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4948, allocations: 11.69 kB / 436.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.4971, allocations: 182.1 kB / 436.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4974, allocations: 202.5 kB / 436.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4974, allocations: 8.688 kB / 436.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.4975, allocations: 9.594 kB / 436.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.4982, allocations: 227.4 kB / 436.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4982, allocations: 0 / 436.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.4983, allocations: 6.484 kB / 436.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-06/0.4983, allocations: 2.562 kB / 436.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.4989, allocations: 176.5 kB / 437 MB, free: 9.344 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.5001, allocations: 0.5737 MB / 437.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.5006, allocations: 136.3 kB / 437.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.5006, allocations: 2.906 kB / 437.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5007, allocations: 41.34 kB / 437.7 MB, free: 8.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.467e-06/0.5007, allocations: 0 / 437.7 MB, free: 8.652 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006043/0.5067, allocations: 1.303 MB / 439 MB, free: 7.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5068, allocations: 54.28 kB / 439.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.5069, allocations: 116.1 kB / 439.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.507, allocations: 32.52 kB / 439.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5071, allocations: 162.5 kB / 439.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.5072, allocations: 62.45 kB / 439.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.5072, allocations: 6.812 kB / 439.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5074, allocations: 321.7 kB / 439.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.5076, allocations: 65.28 kB / 439.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.5079, allocations: 107.5 kB / 439.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.5082, allocations: 78.33 kB / 440 MB, free: 6.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-06/0.5082, allocations: 3.938 kB / 440 MB, free: 6.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006745/0.5089, allocations: 255.2 kB / 440.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5089, allocations: 9.469 kB / 440.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.091e-06/0.5089, allocations: 2 kB / 440.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.5091, allocations: 56.14 kB / 440.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.5095, allocations: 61.23 kB / 440.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005582/0.5101, allocations: 0.5558 MB / 441 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.5103, allocations: 21.61 kB / 441 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.5104, allocations: 20.75 kB / 441 MB, free: 6.141 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.5106, allocations: 122.1 kB / 441.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.5107, allocations: 17.55 kB / 441.1 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.5118, allocations: 342.6 kB / 441.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.5118, allocations: 6.875 kB / 441.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.5119, allocations: 0 / 441.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.439e-06/0.5119, allocations: 2.781 kB / 441.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.5132, allocations: 0.6304 MB / 442.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-06/0.5132, allocations: 0 / 442.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.5137, allocations: 60.05 kB / 442.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.5138, allocations: 28.78 kB / 442.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.5139, allocations: 15.98 kB / 442.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.5151, allocations: 1.266 MB / 443.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.184e-06/0.5152, allocations: 4.031 kB / 443.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.5161, allocations: 427.4 kB / 443.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.5162, allocations: 88.92 kB / 444 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.5163, allocations: 4 kB / 444 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.5166, allocations: 11.94 kB / 444 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.5167, allocations: 27.92 kB / 444 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.5167, allocations: 31.98 kB / 444.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.5168, allocations: 95.31 kB / 444.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5168, allocations: 4 kB / 444.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000543/0.5174, allocations: 76 kB / 444.2 MB, free: 2.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.5178, allocations: 159 kB / 444.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.5185, allocations: 195.8 kB / 444.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.5185, allocations: 0 / 444.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.519, allocations: 223.8 kB / 444.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.5194, allocations: 47.91 kB / 444.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5206, allocations: 0.5877 MB / 445.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.521, allocations: 0.7127 MB / 446.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.5213, allocations: 59.41 kB / 446.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of SimCode: time 1.63e-06/0.5214, allocations: 0 / 446.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Templates: time 0.008432/0.5298, allocations: 3.942 MB / 450.1 MB, free: 12.89 MB / 346.7 MB