Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.000839/0.000839, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009317/0.0009318, allocations: 168.7 kB / 15.95 MB, free: 204 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004589/0.0004589, allocations: 18.8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 47.59 MB / 326.5 MB, free: 1.52 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001355/0.2149, allocations: 1.288 MB / 327.8 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.2191, allocations: 3.076 MB / 330.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2192, allocations: 1.125 kB / 330.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2195, allocations: 50.22 kB / 330.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.2196, allocations: 10.38 kB / 330.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.2225, allocations: 1.048 MB / 331.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.2228, allocations: 128.6 kB / 332.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.2229, allocations: 22.25 kB / 332.1 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.2229, allocations: 51.02 kB / 332.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.223, allocations: 44.73 kB / 332.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2231, allocations: 3.5 kB / 332.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.2251, allocations: 1.1 MB / 333.3 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.2252, allocations: 31.89 kB / 333.3 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.2253, allocations: 45.64 kB / 333.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2263, allocations: 1.084 MB / 334.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2264, allocations: 0 / 334.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2264, allocations: 0 / 334.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2264, allocations: 0 / 334.4 MB, free: 11.62 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.0008846/0.2273, allocations: 0.5379 MB / 335 MB, free: 11.03 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2273, allocations: 12.03 kB / 335 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2274, allocations: 15.81 kB / 335 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2276, allocations: 210.8 kB / 335.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2276, allocations: 11.94 kB / 335.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2276, allocations: 12 kB / 335.2 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.2278, allocations: 121 kB / 335.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2279, allocations: 4 kB / 335.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2279, allocations: 4 kB / 335.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2279, allocations: 4 kB / 335.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.228, allocations: 59.89 kB / 335.4 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.2286, allocations: 384.5 kB / 335.8 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.229, allocations: 138.5 kB / 335.9 MB, free: 9.957 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.2291, allocations: 40.83 kB / 336 MB, free: 9.914 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2291, allocations: 8 kB / 336 MB, free: 9.906 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2291, allocations: 34.56 kB / 336 MB, free: 9.863 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2291, allocations: 0 / 336 MB, free: 9.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002065/0.2312, allocations: 1.226 MB / 337.2 MB, free: 8.504 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.2313, allocations: 132.5 kB / 337.4 MB, free: 8.344 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2314, allocations: 174.4 kB / 337.5 MB, free: 8.164 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2315, allocations: 29.7 kB / 337.6 MB, free: 8.129 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.2315, allocations: 108.5 kB / 337.7 MB, free: 8.016 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.2316, allocations: 59.05 kB / 337.7 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.2316, allocations: 0 / 337.7 MB, free: 7.957 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2317, allocations: 326.8 kB / 338.1 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2319, allocations: 99.94 kB / 338.2 MB, free: 7.531 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2321, allocations: 136.6 kB / 338.3 MB, free: 7.387 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2323, allocations: 120 kB / 338.4 MB, free: 7.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2323, allocations: 0 / 338.4 MB, free: 7.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004903/0.2328, allocations: 306.2 kB / 338.7 MB, free: 6.961 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2328, allocations: 12 kB / 338.7 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.2329, allocations: 0 / 338.7 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.233, allocations: 44.81 kB / 338.8 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2332, allocations: 27.98 kB / 338.8 MB, free: 6.875 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.2343, allocations: 1.405 MB / 340.2 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.2344, allocations: 8.031 kB / 340.2 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2344, allocations: 11.98 kB / 340.2 MB, free: 5.316 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.0001154/0.2345, allocations: 149.8 kB / 340.4 MB, free: 5.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.2345, allocations: 11.81 kB / 340.4 MB, free: 5.148 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.2346, allocations: 29.45 kB / 340.4 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2346, allocations: 0 / 340.4 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2346, allocations: 0 / 340.4 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2346, allocations: 4 kB / 340.4 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.2349, allocations: 249.5 kB / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2349, allocations: 0 / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2351, allocations: 51.97 kB / 340.7 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2351, allocations: 4 kB / 340.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2352, allocations: 4 kB / 340.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2352, allocations: 0 / 340.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2352, allocations: 0 / 340.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.2357, allocations: 427.1 kB / 341.1 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.2357, allocations: 92.92 kB / 341.2 MB, free: 4.223 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2357, allocations: 4.031 kB / 341.2 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2358, allocations: 8 kB / 341.2 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.2359, allocations: 7.984 kB / 341.2 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.2359, allocations: 4 kB / 341.2 MB, free: 4.199 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.236, allocations: 119.2 kB / 341.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.236, allocations: 3.938 kB / 341.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001366/0.2374, allocations: 0.5234 MB / 341.9 MB, free: 3.555 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.0009006/0.2383, allocations: 0.5457 MB / 342.4 MB, free: 3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.2389, allocations: 389.9 kB / 342.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2389, allocations: 0 / 342.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.239, allocations: 87.89 kB / 342.9 MB, free: 2.508 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2393, allocations: 36.62 kB / 342.9 MB, free: 2.473 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.2399, allocations: 440.6 kB / 343.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2402, allocations: 0.7362 MB / 344.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.621e-05/0.2403, allocations: 33.06 kB / 344.1 MB, free: 1.223 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.2404, allocations: 15.44 kB / 344.1 MB, free: 1.207 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2404, allocations: 4 kB / 344.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of Templates: time 0.01223/0.2526, allocations: 7.736 MB / 351.9 MB, free: 9.453 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)