Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestSpeed.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 251.1 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004256, allocations: 8 kB / 314.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4896, allocations: 82.6 MB / 452.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4899, allocations: 71.91 kB / 452.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02181/0.5117, allocations: 4.689 MB / 457.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5117, allocations: 4 kB / 457.1 MB, free: 3.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.5118, allocations: 11.94 kB / 457.2 MB, free: 3.219 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001139/0.5129, allocations: 0.5408 MB / 457.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.513, allocations: 12.03 kB / 457.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.5131, allocations: 31.62 kB / 457.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.5135, allocations: 258.4 kB / 458 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.5135, allocations: 20.56 kB / 458 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.5136, allocations: 28 kB / 458 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.5144, allocations: 278 kB / 458.3 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.5144, allocations: 15.83 kB / 458.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.5145, allocations: 12 kB / 458.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5145, allocations: 11.94 kB / 458.4 MB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.5153, allocations: 195.8 kB / 458.5 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.5178, allocations: 1.31 MB / 459.9 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.5185, allocations: 247.7 kB / 460.1 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.5186, allocations: 4 kB / 460.1 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.5186, allocations: 42.69 kB / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 4.669e-06/0.5187, allocations: 7.938 kB / 460.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.004199/0.5229, allocations: 1.619 MB / 461.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.523, allocations: 136.5 kB / 461.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.5233, allocations: 221 kB / 462.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.5234, allocations: 33.7 kB / 462.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.5235, allocations: 242.6 kB / 462.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.5237, allocations: 118.3 kB / 462.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.5237, allocations: 8 kB / 462.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5238, allocations: 322.8 kB / 462.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.5243, allocations: 112.8 kB / 462.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.5249, allocations: 246.6 kB / 463.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.5255, allocations: 152.4 kB / 463.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5255, allocations: 0 / 463.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001325/0.5268, allocations: 408.9 kB / 463.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5268, allocations: 8 kB / 463.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5269, allocations: 4 kB / 463.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.5269, allocations: 8 kB / 463.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.5276, allocations: 112.1 kB / 463.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.5277, allocations: 11.95 kB / 463.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.5281, allocations: 27.98 kB / 463.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.5281, allocations: 23.98 kB / 463.9 MB, free: 11.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0002315/0.5284, allocations: 149.7 kB / 464.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5285, allocations: 27.72 kB / 464.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.5286, allocations: 37.7 kB / 464.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5286, allocations: 4 kB / 464.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.5287, allocations: 4 kB / 464.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5287, allocations: 7.891 kB / 464.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.531, allocations: 1.005 MB / 465.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5311, allocations: 7.984 kB / 465.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/0.5318, allocations: 84.02 kB / 465.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.5318, allocations: 7.938 kB / 465.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.5319, allocations: 8 kB / 465.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5319, allocations: 3.984 kB / 465.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5319, allocations: 4.438 kB / 465.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5337, allocations: 0.7681 MB / 466 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.5338, allocations: 104.7 kB / 466.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.5339, allocations: 12.06 kB / 466.1 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5344, allocations: 24.27 kB / 466.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.5345, allocations: 23.97 kB / 466.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.5346, allocations: 12.22 kB / 466.2 MB, free: 9.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.5348, allocations: 160.4 kB / 466.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5348, allocations: 0 / 466.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006619/0.5355, allocations: 67.98 kB / 466.4 MB, free: 9.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001624/0.5357, allocations: 107.2 kB / 466.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.5368, allocations: 300.2 kB / 466.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5368, allocations: 0 / 466.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.5374, allocations: 148.1 kB / 467 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.538, allocations: 36.38 kB / 467 MB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5402, allocations: 1.103 MB / 468.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5407, allocations: 0.7761 MB / 468.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5409, allocations: 31.42 kB / 468.9 MB, free: 6.645 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5409, allocations: 3.938 kB / 468.9 MB, free: 6.641 MB / 394.7 MB Notification: Performance of Templates: time 0.008936/0.5498, allocations: 3.209 MB / 472.1 MB, free: 3.438 MB / 394.7 MB