Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001253/0.001253, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001463/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004486/0.0004487, allocations: 16 kB / 278.8 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001372/0.1996, allocations: 1.29 MB / 327.7 MB, free: 400 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.2039, allocations: 3.056 MB / 330.8 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.204, allocations: 2.031 kB / 330.8 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.2043, allocations: 58.94 kB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.2044, allocations: 23.27 kB / 330.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.2072, allocations: 0.9686 MB / 331.8 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2074, allocations: 95.14 kB / 331.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.2075, allocations: 26.27 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.2076, allocations: 44.97 kB / 332 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.2077, allocations: 48.58 kB / 332 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2077, allocations: 3.719 kB / 332 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.2092, allocations: 1.051 MB / 333.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.2092, allocations: 39.89 kB / 333.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.2093, allocations: 41.64 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.2103, allocations: 1.08 MB / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2103, allocations: 0 / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2103, allocations: 0 / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.2103, allocations: 0 / 334.2 MB, free: 11.68 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.0008375/0.2112, allocations: 0.534 MB / 334.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2112, allocations: 12.03 kB / 334.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.2113, allocations: 19.81 kB / 334.8 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2115, allocations: 214.7 kB / 335 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2115, allocations: 11.95 kB / 335 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.2116, allocations: 8 kB / 335 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2118, allocations: 129 kB / 335.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2119, allocations: 3.938 kB / 335.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2119, allocations: 4 kB / 335.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2119, allocations: 4 kB / 335.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.212, allocations: 55.95 kB / 335.2 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.2126, allocations: 388.5 kB / 335.6 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.213, allocations: 126.5 kB / 335.7 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.213, allocations: 0 / 335.7 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.213, allocations: 34.56 kB / 335.8 MB, free: 9.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.213, allocations: 4 kB / 335.8 MB, free: 9.977 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002124/0.2152, allocations: 1.222 MB / 337 MB, free: 8.621 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.2153, allocations: 136.5 kB / 337.1 MB, free: 8.457 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2154, allocations: 170.4 kB / 337.3 MB, free: 8.281 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2154, allocations: 25.7 kB / 337.3 MB, free: 8.25 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.2155, allocations: 116.5 kB / 337.4 MB, free: 8.129 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.2156, allocations: 59.11 kB / 337.5 MB, free: 8.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.2156, allocations: 0 / 337.5 MB, free: 8.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2157, allocations: 330.8 kB / 337.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2159, allocations: 99.94 kB / 337.9 MB, free: 7.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2161, allocations: 131.4 kB / 338 MB, free: 7.5 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2163, allocations: 116.1 kB / 338.2 MB, free: 7.387 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2163, allocations: 3.938 kB / 338.2 MB, free: 7.383 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005084/0.2168, allocations: 306.2 kB / 338.5 MB, free: 7.074 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2168, allocations: 8 kB / 338.5 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.2168, allocations: 0 / 338.5 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.217, allocations: 48.84 kB / 338.5 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.2172, allocations: 35.98 kB / 338.6 MB, free: 6.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.2185, allocations: 1.413 MB / 340 MB, free: 5.434 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.2186, allocations: 8.016 kB / 340 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2186, allocations: 9.219 kB / 340 MB, free: 5.418 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.0001387/0.2188, allocations: 137.7 kB / 340.1 MB, free: 5.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.2188, allocations: 15.81 kB / 340.1 MB, free: 5.258 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.2189, allocations: 29.72 kB / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2189, allocations: 0 / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2189, allocations: 0 / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2189, allocations: 0 / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2191, allocations: 249.5 kB / 340.4 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2192, allocations: 0 / 340.4 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2194, allocations: 55.97 kB / 340.5 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2194, allocations: 0 / 340.5 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2195, allocations: 7.984 kB / 340.5 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2195, allocations: 0 / 340.5 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2195, allocations: 11.94 kB / 340.5 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.22, allocations: 419.1 kB / 340.9 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.2201, allocations: 88.92 kB / 341 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.2201, allocations: 8 kB / 341 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2202, allocations: 8 kB / 341 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2203, allocations: 12.03 kB / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2203, allocations: 4 kB / 341 MB, free: 4.301 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.2204, allocations: 123.2 kB / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.814e-06/0.2204, allocations: 0 / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001449/0.2219, allocations: 0.5195 MB / 341.6 MB, free: 3.66 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.000976/0.2228, allocations: 0.5414 MB / 342.2 MB, free: 3.109 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006598/0.2235, allocations: 401.9 kB / 342.6 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2235, allocations: 0 / 342.6 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2237, allocations: 87.89 kB / 342.7 MB, free: 2.605 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.224, allocations: 32.61 kB / 342.7 MB, free: 2.574 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.2246, allocations: 436.7 kB / 343.1 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2249, allocations: 0.7402 MB / 343.9 MB, free: 1.355 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.08e-05/0.225, allocations: 25.06 kB / 343.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.225, allocations: 19.44 kB / 343.9 MB, free: 1.312 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.225, allocations: 0 / 343.9 MB, free: 1.312 MB / 270.1 MB Notification: Performance of Templates: time 0.01314/0.2382, allocations: 7.74 MB / 351.6 MB, free: 9.559 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) Environment - environmentSimulation: