Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.2 MB / 225.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.000645, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3633, allocations: 48.71 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5144, allocations: 72.79 MB / 404.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.5147, allocations: 71.97 kB / 404.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002405/0.5172, allocations: 0.5475 MB / 405.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5172, allocations: 4 kB / 405.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.5172, allocations: 0 / 405.2 MB, free: 5.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004425/0.5177, allocations: 331.3 kB / 405.5 MB, free: 4.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.5178, allocations: 12.02 kB / 405.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.5178, allocations: 4 kB / 405.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.518, allocations: 163 kB / 405.7 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.518, allocations: 10.03 kB / 405.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5181, allocations: 0 / 405.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.5183, allocations: 59.41 kB / 405.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5183, allocations: 3.984 kB / 405.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5183, allocations: 0 / 405.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5183, allocations: 0 / 405.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.5184, allocations: 15.94 kB / 405.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.5189, allocations: 325.1 kB / 406.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.519, allocations: 26.58 kB / 406.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.5191, allocations: 0 / 406.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5191, allocations: 30.56 kB / 406.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.5191, allocations: 4 kB / 406.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003056/0.5194, allocations: 61.62 kB / 406.2 MB, free: 3.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.5195, allocations: 55.39 kB / 406.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.5196, allocations: 89.95 kB / 406.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5197, allocations: 37.73 kB / 406.4 MB, free: 3.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.5198, allocations: 150.6 kB / 406.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.5198, allocations: 11.75 kB / 406.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5198, allocations: 3.938 kB / 406.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.52, allocations: 322.8 kB / 406.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.5201, allocations: 4 kB / 406.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.5202, allocations: 21.72 kB / 406.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.5202, allocations: 8 kB / 406.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.5202, allocations: 0 / 406.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.5204, allocations: 57.62 kB / 407 MB, free: 3.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5205, allocations: 8 kB / 407 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5205, allocations: 3.984 kB / 407 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5205, allocations: 0 / 407 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.5207, allocations: 8 kB / 407 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5207, allocations: 3.938 kB / 407 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.5208, allocations: 0 / 407 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5208, allocations: 4 kB / 407 MB, free: 3.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.5209, allocations: 117.8 kB / 407.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.521, allocations: 3.906 kB / 407.1 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.5212, allocations: 61.17 kB / 407.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5213, allocations: 0 / 407.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5213, allocations: 0 / 407.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5213, allocations: 0 / 407.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.5216, allocations: 169.6 kB / 407.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5216, allocations: 0 / 407.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.5217, allocations: 12.12 kB / 407.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5218, allocations: 8 kB / 407.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.5218, allocations: 0 / 407.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5218, allocations: 0 / 407.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5218, allocations: 0 / 407.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.5221, allocations: 143.5 kB / 407.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.5221, allocations: 85.06 kB / 407.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5222, allocations: 4 kB / 407.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5223, allocations: 0 / 407.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.5224, allocations: 7.984 kB / 407.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5224, allocations: 4.234 kB / 407.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.5225, allocations: 75.28 kB / 407.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.156e-06/0.5225, allocations: 0 / 407.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.523, allocations: 11.94 kB / 407.7 MB, free: 2.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.5232, allocations: 108 kB / 407.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.5234, allocations: 27.97 kB / 407.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5235, allocations: 4.156 kB / 407.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.5235, allocations: 16 kB / 407.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.5238, allocations: 0 / 407.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.5242, allocations: 148.7 kB / 408 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.5246, allocations: 0.6809 MB / 408.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5247, allocations: 11.44 kB / 408.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of SimCode: time 1.021e-06/0.5247, allocations: 0 / 408.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Templates: time 0.003145/0.5279, allocations: 0.5682 MB / 409.3 MB, free: 0.625 MB / 330.7 MB