Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.613/1.613, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001561/0.001561, allocations: 124.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07699/0.07703, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4024, allocations: 84.97 MB / 434.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.4028, allocations: 68.56 kB / 434.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04334/0.4461, allocations: 16.82 MB / 451.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4462, allocations: 4 kB / 451.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.4462, allocations: 8 kB / 451.3 MB, free: 10.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001018/0.4472, allocations: 0.5434 MB / 451.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4473, allocations: 8.031 kB / 451.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.4473, allocations: 15.84 kB / 451.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4477, allocations: 233.9 kB / 452.1 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4477, allocations: 10.36 kB / 452.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.4478, allocations: 10.38 kB / 452.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.448, allocations: 132.4 kB / 452.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.448, allocations: 0 / 452.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4481, allocations: 3.438 kB / 452.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4481, allocations: 8 kB / 452.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.4482, allocations: 46.62 kB / 452.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.4489, allocations: 389.9 kB / 452.7 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4493, allocations: 119.7 kB / 452.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.4494, allocations: 42.72 kB / 452.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4494, allocations: 0 / 452.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4494, allocations: 38 kB / 452.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4494, allocations: 0 / 452.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002065/0.4515, allocations: 1.15 MB / 454 MB, free: 7.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.4516, allocations: 135.8 kB / 454.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4518, allocations: 154.8 kB / 454.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.4518, allocations: 33.52 kB / 454.3 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.4519, allocations: 114.2 kB / 454.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.452, allocations: 58.88 kB / 454.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.452, allocations: 0 / 454.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4521, allocations: 326 kB / 454.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4523, allocations: 87.66 kB / 454.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.4525, allocations: 123.6 kB / 455 MB, free: 6.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.4527, allocations: 127.2 kB / 455.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4527, allocations: 0 / 455.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005113/0.4533, allocations: 275.8 kB / 455.4 MB, free: 6.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4533, allocations: 4 kB / 455.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.4533, allocations: 7.5 kB / 455.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.4535, allocations: 40.62 kB / 455.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4537, allocations: 35.42 kB / 455.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.455, allocations: 1.399 MB / 456.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.4551, allocations: 15.95 kB / 456.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.4552, allocations: 8.156 kB / 456.9 MB, free: 4.941 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 prepare postOptimizeDAE: time 9.919e-05/0.4553, allocations: 112.7 kB / 457 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4553, allocations: 11.86 kB / 457.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.646e-05/0.4554, allocations: 32.81 kB / 457.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4554, allocations: 0 / 457.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4554, allocations: 4 kB / 457.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4554, allocations: 3.953 kB / 457.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.4557, allocations: 247.6 kB / 457.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4558, allocations: 4 kB / 457.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.4561, allocations: 51.91 kB / 457.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4561, allocations: 0 / 457.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4561, allocations: 7.938 kB / 457.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4561, allocations: 0 / 457.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4561, allocations: 0 / 457.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.4566, allocations: 391.3 kB / 457.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.4566, allocations: 88.92 kB / 457.9 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4567, allocations: 11.86 kB / 457.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4568, allocations: 7.984 kB / 457.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4568, allocations: 7.984 kB / 457.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.4569, allocations: 7.625 kB / 457.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.457, allocations: 120.5 kB / 458 MB, free: 3.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.457, allocations: 3.938 kB / 458 MB, free: 3.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001864/0.4588, allocations: 0.5347 MB / 458.6 MB, free: 3.391 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001134/0.46, allocations: 0.5663 MB / 459.1 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.4606, allocations: 376.8 kB / 459.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4606, allocations: 4 kB / 459.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4607, allocations: 82.72 kB / 459.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.461, allocations: 24.14 kB / 459.6 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.4615, allocations: 314.2 kB / 459.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.4619, allocations: 0.7362 MB / 460.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.547e-05/0.462, allocations: 33.17 kB / 460.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.462, allocations: 15.44 kB / 460.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.462, allocations: 0 / 460.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of Templates: time 0.01761/0.4797, allocations: 10.15 MB / 470.8 MB, free: 7.238 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)