Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.RootMeanSquare.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.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006426/0.000643, allocations: 15.98 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.392, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5465, allocations: 80.89 MB / 450.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.5468, allocations: 75.97 kB / 450.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008202/0.555, allocations: 1.645 MB / 452.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5551, allocations: 0 / 452.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5551, allocations: 4 kB / 452.4 MB, free: 7.992 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006999/0.5558, allocations: 394.8 kB / 452.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.5559, allocations: 12.03 kB / 452.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.556, allocations: 7.906 kB / 452.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.5563, allocations: 216.8 kB / 453 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.5564, allocations: 4 kB / 453 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.5564, allocations: 8 kB / 453 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.5567, allocations: 89.64 kB / 453.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5568, allocations: 4 kB / 453.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.5568, allocations: 8 kB / 453.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5568, allocations: 3.953 kB / 453.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.5571, allocations: 51.97 kB / 453.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.5579, allocations: 376.4 kB / 453.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5581, allocations: 58.55 kB / 453.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.5582, allocations: 3.984 kB / 453.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.5585, allocations: 107.4 kB / 453.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.389e-06/0.5585, allocations: 3.984 kB / 453.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005361/0.559, allocations: 129.5 kB / 453.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.5591, allocations: 55.41 kB / 453.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.5593, allocations: 138 kB / 454 MB, free: 6.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.5593, allocations: 33.7 kB / 454.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5595, allocations: 166.8 kB / 454.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.5595, allocations: 31.55 kB / 454.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.5596, allocations: 0 / 454.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5597, allocations: 315.2 kB / 454.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5599, allocations: 23.98 kB / 454.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5601, allocations: 91.64 kB / 454.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.5603, allocations: 43.92 kB / 454.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5603, allocations: 0 / 454.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000431/0.5607, allocations: 137.4 kB / 454.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5608, allocations: 10.12 kB / 454.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5608, allocations: 4.219 kB / 454.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5608, allocations: 4 kB / 454.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.561, allocations: 27.92 kB / 454.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5611, allocations: 4 kB / 454.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.5612, allocations: 19.83 kB / 454.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.5612, allocations: 8 kB / 454.9 MB, free: 5.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001618/0.5614, allocations: 125.8 kB / 455.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.5614, allocations: 11.86 kB / 455.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.5615, allocations: 12.72 kB / 455.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5615, allocations: 4 kB / 455.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5615, allocations: 3.984 kB / 455.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5616, allocations: 0 / 455.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.5618, allocations: 197.6 kB / 455.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5618, allocations: 0 / 455.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.562, allocations: 15.98 kB / 455.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.562, allocations: 7.953 kB / 455.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.562, allocations: 0 / 455.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.562, allocations: 3.984 kB / 455.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5621, allocations: 4 kB / 455.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.5626, allocations: 168.9 kB / 455.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.5627, allocations: 88.98 kB / 455.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.5627, allocations: 3.953 kB / 455.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5628, allocations: 4 kB / 455.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.5629, allocations: 19.98 kB / 455.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.563, allocations: 4 kB / 455.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.5631, allocations: 107.2 kB / 455.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5631, allocations: 0 / 455.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.5634, allocations: 24 kB / 455.7 MB, free: 4.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001628/0.5636, allocations: 95.34 kB / 455.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.564, allocations: 91.77 kB / 455.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.564, allocations: 0 / 455.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.5642, allocations: 39.92 kB / 456 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.5644, allocations: 4.281 kB / 456 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.5651, allocations: 321.2 kB / 456.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.5655, allocations: 0.7083 MB / 457 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.5656, allocations: 11.44 kB / 457 MB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5656, allocations: 8 kB / 457 MB, free: 2.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004135/0.5697, allocations: 1.294 MB / 458.3 MB, free: 1.684 MB / 378.7 MB