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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001667/0.2292, allocations: 1.298 MB / 329 MB, free: 400 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.234, allocations: 3.043 MB / 332 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2342, allocations: 0 / 332 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.2346, allocations: 68.69 kB / 332.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.2347, allocations: 6.422 kB / 332.1 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.238, allocations: 0.9757 MB / 333.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.2382, allocations: 99.75 kB / 333.2 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.2383, allocations: 23.39 kB / 333.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.2384, allocations: 47.41 kB / 333.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2386, allocations: 48.61 kB / 333.3 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.2386, allocations: 3.781 kB / 333.3 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.2411, allocations: 1.054 MB / 334.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.2412, allocations: 31.91 kB / 334.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2413, allocations: 37.64 kB / 334.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.2429, allocations: 1.088 MB / 335.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2429, allocations: 0 / 335.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2429, allocations: 0 / 335.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2429, allocations: 4 kB / 335.5 MB, free: 11.69 MB / 270.1 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.001093/0.244, allocations: 0.5379 MB / 336 MB, free: 11.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2441, allocations: 8.031 kB / 336.1 MB, free: 11.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.2442, allocations: 15.81 kB / 336.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2445, allocations: 214.8 kB / 336.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.2445, allocations: 7.953 kB / 336.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.2445, allocations: 11.94 kB / 336.3 MB, free: 10.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.2448, allocations: 129 kB / 336.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2448, allocations: 0 / 336.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2449, allocations: 4 kB / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2449, allocations: 0 / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.245, allocations: 59.95 kB / 336.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.2457, allocations: 388.5 kB / 336.9 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.246, allocations: 126.5 kB / 337 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2461, allocations: 11.94 kB / 337 MB, free: 10.03 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2461, allocations: 34.56 kB / 337 MB, free: 9.988 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2461, allocations: 0 / 337 MB, free: 9.988 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002079/0.2482, allocations: 1.222 MB / 338.3 MB, free: 8.633 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.2483, allocations: 128.5 kB / 338.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2485, allocations: 178.4 kB / 338.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2485, allocations: 29.64 kB / 338.6 MB, free: 8.258 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2486, allocations: 112.5 kB / 338.7 MB, free: 8.141 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2486, allocations: 63.09 kB / 338.8 MB, free: 8.078 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.2486, allocations: 0 / 338.8 MB, free: 8.078 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2488, allocations: 326.8 kB / 339.1 MB, free: 7.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2489, allocations: 99.94 kB / 339.2 MB, free: 7.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2491, allocations: 131.4 kB / 339.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2493, allocations: 116 kB / 339.4 MB, free: 7.398 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2493, allocations: 4 kB / 339.4 MB, free: 7.395 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004923/0.2498, allocations: 307.4 kB / 339.7 MB, free: 7.086 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2498, allocations: 4 kB / 339.7 MB, free: 7.082 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.2499, allocations: 11.98 kB / 339.7 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.25, allocations: 36.83 kB / 339.8 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2502, allocations: 36.02 kB / 339.8 MB, free: 6.996 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2513, allocations: 1.417 MB / 341.2 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.2514, allocations: 12.28 kB / 341.2 MB, free: 5.434 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2515, allocations: 8 kB / 341.2 MB, free: 5.426 MB / 270.1 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 () * Number of clocked 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 0.0001321/0.2516, allocations: 141.7 kB / 341.4 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.2517, allocations: 11.81 kB / 341.4 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.2517, allocations: 29.52 kB / 341.4 MB, free: 5.238 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2517, allocations: 4 kB / 341.4 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2517, allocations: 0 / 341.4 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2517, allocations: 3.938 kB / 341.4 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.252, allocations: 249.5 kB / 341.7 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.252, allocations: 4 kB / 341.7 MB, free: 4.934 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2523, allocations: 47.97 kB / 341.7 MB, free: 4.887 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2523, allocations: 0 / 341.7 MB, free: 4.887 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2523, allocations: 8 kB / 341.7 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2523, allocations: 0 / 341.7 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2523, allocations: 0 / 341.7 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.2529, allocations: 423 kB / 342.1 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.2529, allocations: 88.92 kB / 342.2 MB, free: 4.344 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2529, allocations: 8.031 kB / 342.2 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2531, allocations: 4 kB / 342.2 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.2531, allocations: 11.98 kB / 342.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2531, allocations: 4 kB / 342.3 MB, free: 4.316 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.2532, allocations: 119.2 kB / 342.4 MB, free: 4.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 7.938 kB / 342.4 MB, free: 4.191 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001503/0.2547, allocations: 0.5156 MB / 342.9 MB, free: 3.676 MB / 270.1 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 () * Number of clocked 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.00131/0.2561, allocations: 0.5572 MB / 343.5 MB, free: 3.109 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.2568, allocations: 385.9 kB / 343.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2568, allocations: 4 kB / 343.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2569, allocations: 91.89 kB / 343.9 MB, free: 2.613 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2572, allocations: 28.62 kB / 344 MB, free: 2.586 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.2579, allocations: 440.7 kB / 344.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2582, allocations: 0.7324 MB / 345.1 MB, free: 1.371 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2583, allocations: 40.98 kB / 345.2 MB, free: 1.332 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.2584, allocations: 15.44 kB / 345.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2584, allocations: 3.938 kB / 345.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of Templates: time 0.01343/0.2718, allocations: 7.732 MB / 352.9 MB, free: 9.566 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: