Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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.1_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003831/0.003837, allocations: 347.5 kB / 15.93 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.79/3.79, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00548/0.00548, allocations: 214.1 kB / 397.8 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4716/0.4716, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006685/0.0006688, allocations: 8 kB / 0.5592 GB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09007, allocations: 48.7 MB / 0.6067 GB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5116, allocations: 74.54 MB / 0.6795 GB, free: 38.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5119, allocations: 63.97 kB / 0.6796 GB, free: 38.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007219/0.5192, allocations: 1.655 MB / 0.6812 GB, free: 36.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5192, allocations: 0 / 0.6812 GB, free: 36.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5193, allocations: 6.844 kB / 0.6812 GB, free: 36.55 MB / 362.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.00062/0.5199, allocations: 397.7 kB / 0.6816 GB, free: 36.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5199, allocations: 12.03 kB / 0.6816 GB, free: 36.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.52, allocations: 13.53 kB / 0.6816 GB, free: 36.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.5203, allocations: 206.9 kB / 0.6818 GB, free: 35.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5203, allocations: 8 kB / 0.6818 GB, free: 35.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.5204, allocations: 9.156 kB / 0.6818 GB, free: 35.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.5207, allocations: 92.3 kB / 0.6819 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5207, allocations: 4 kB / 0.6819 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.5208, allocations: 0 / 0.6819 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5208, allocations: 0 / 0.6819 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.521, allocations: 57.89 kB / 0.682 GB, free: 35.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.5217, allocations: 376.5 kB / 0.6823 GB, free: 35.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5219, allocations: 62.33 kB / 0.6824 GB, free: 35.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.522, allocations: 28.98 kB / 0.6824 GB, free: 35.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.5221, allocations: 3.938 kB / 0.6824 GB, free: 35.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.5224, allocations: 98.12 kB / 0.6825 GB, free: 35.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 4.027e-06/0.5224, allocations: 0 / 0.6825 GB, free: 35.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005458/0.523, allocations: 136.1 kB / 0.6826 GB, free: 34.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.523, allocations: 55.41 kB / 0.6827 GB, free: 34.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5232, allocations: 138.7 kB / 0.6828 GB, free: 34.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.5232, allocations: 33.7 kB / 0.6829 GB, free: 34.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.5233, allocations: 100.3 kB / 0.6829 GB, free: 34.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.5233, allocations: 27.61 kB / 0.683 GB, free: 34.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.5234, allocations: 6.938 kB / 0.683 GB, free: 34.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.5234, allocations: 322.8 kB / 0.6833 GB, free: 34.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.5236, allocations: 23.98 kB / 0.6833 GB, free: 34.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5237, allocations: 96.61 kB / 0.6834 GB, free: 34.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5239, allocations: 37.06 kB / 0.6834 GB, free: 34.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5239, allocations: 0 / 0.6834 GB, free: 34.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004607/0.5244, allocations: 143.5 kB / 0.6836 GB, free: 33.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5244, allocations: 8.703 kB / 0.6836 GB, free: 33.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5244, allocations: 4 kB / 0.6836 GB, free: 33.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.5245, allocations: 7.188 kB / 0.6836 GB, free: 33.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.5247, allocations: 23.92 kB / 0.6836 GB, free: 33.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5247, allocations: 6.969 kB / 0.6836 GB, free: 33.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.5248, allocations: 15.28 kB / 0.6836 GB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.5249, allocations: 8 kB / 0.6836 GB, free: 33.85 MB / 362.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.0001326/0.525, allocations: 135.1 kB / 0.6838 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.5251, allocations: 11.03 kB / 0.6838 GB, free: 33.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.5251, allocations: 16.61 kB / 0.6838 GB, free: 33.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5251, allocations: 4 kB / 0.6838 GB, free: 33.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5252, allocations: 0 / 0.6838 GB, free: 33.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5252, allocations: 0 / 0.6838 GB, free: 33.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.5254, allocations: 209.5 kB / 0.684 GB, free: 33.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5254, allocations: 0 / 0.684 GB, free: 33.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.5255, allocations: 16.86 kB / 0.684 GB, free: 33.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5256, allocations: 0 / 0.684 GB, free: 33.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5256, allocations: 0 / 0.684 GB, free: 33.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5256, allocations: 6.953 kB / 0.684 GB, free: 33.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5256, allocations: 0 / 0.684 GB, free: 33.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.5262, allocations: 172.1 kB / 0.6842 GB, free: 33.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.5263, allocations: 98.11 kB / 0.6843 GB, free: 33.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.5263, allocations: 0 / 0.6843 GB, free: 33.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5264, allocations: 7.984 kB / 0.6843 GB, free: 33.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.5265, allocations: 15.89 kB / 0.6843 GB, free: 33.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5265, allocations: 3.984 kB / 0.6843 GB, free: 33.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.5266, allocations: 106.7 kB / 0.6844 GB, free: 32.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5266, allocations: 1.188 kB / 0.6844 GB, free: 32.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.527, allocations: 23.91 kB / 0.6844 GB, free: 32.96 MB / 362.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.000135/0.5271, allocations: 114.3 kB / 0.6845 GB, free: 32.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.5275, allocations: 79.22 kB / 0.6846 GB, free: 32.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5275, allocations: 4 kB / 0.6846 GB, free: 32.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.5277, allocations: 32.97 kB / 0.6847 GB, free: 32.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.528, allocations: 16.16 kB / 0.6847 GB, free: 32.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.5286, allocations: 284.3 kB / 0.6849 GB, free: 32.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.5288, allocations: 0.7097 MB / 0.6856 GB, free: 31.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.745e-05/0.5289, allocations: 8.562 kB / 0.6856 GB, free: 31.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.529, allocations: 15.42 kB / 0.6857 GB, free: 31.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.529, allocations: 0 / 0.6857 GB, free: 31.67 MB / 362.7 MB Notification: Performance of Templates: time 0.004418/0.5334, allocations: 0.8219 MB / 0.6865 GB, free: 30.93 MB / 362.7 MB