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.001122/0.001122, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001248/0.001248, allocations: 194.9 kB / 16.14 MB, free: 6.113 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.321/1.321, allocations: 205.1 MB / 222 MB, free: 4.961 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.001267/0.001267, allocations: 47.94 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2171, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002518/0.2197, allocations: 1.656 MB / 326.3 MB, free: 0.5312 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.2249, allocations: 3.599 MB / 329.9 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.225, allocations: 1.469 kB / 329.9 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.2253, allocations: 45.12 kB / 330 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.2254, allocations: 13.39 kB / 330 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.2281, allocations: 1.057 MB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.2283, allocations: 143 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2284, allocations: 27.23 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.2285, allocations: 51.16 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.2286, allocations: 53.41 kB / 331.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2286, allocations: 4.594 kB / 331.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.2303, allocations: 1.37 MB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.2304, allocations: 31.84 kB / 332.7 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.2305, allocations: 55.66 kB / 332.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.2315, allocations: 1.189 MB / 334 MB, free: 10.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2315, allocations: 4 kB / 334 MB, free: 10.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2315, allocations: 0 / 334 MB, free: 10.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2315, allocations: 0 / 334 MB, free: 10.9 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.0008615/0.2324, allocations: 0.5576 MB / 334.5 MB, free: 10.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2324, allocations: 15.97 kB / 334.5 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.2325, allocations: 16.75 kB / 334.5 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2327, allocations: 212 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2327, allocations: 12.31 kB / 334.8 MB, free: 10 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.2328, allocations: 8.375 kB / 334.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2331, allocations: 121 kB / 334.9 MB, free: 9.859 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2331, allocations: 0 / 334.9 MB, free: 9.859 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2331, allocations: 8 kB / 334.9 MB, free: 9.852 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2331, allocations: 7.938 kB / 334.9 MB, free: 9.844 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2333, allocations: 55.95 kB / 335 MB, free: 9.789 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2338, allocations: 384.5 kB / 335.3 MB, free: 9.363 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.2342, allocations: 134.5 kB / 335.5 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.2343, allocations: 40.83 kB / 335.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2343, allocations: 0 / 335.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2343, allocations: 38.56 kB / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 8.41e-07/0.2343, allocations: 0 / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002176/0.2365, allocations: 1.21 MB / 336.8 MB, free: 7.789 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.2366, allocations: 136.5 kB / 336.9 MB, free: 7.625 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2368, allocations: 174.3 kB / 337.1 MB, free: 7.445 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2368, allocations: 30.92 kB / 337.1 MB, free: 7.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.2369, allocations: 108.5 kB / 337.2 MB, free: 7.297 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.237, allocations: 59.19 kB / 337.3 MB, free: 7.238 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.2371, allocations: 45.7 kB / 337.3 MB, free: 7.188 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2372, allocations: 330.8 kB / 337.6 MB, free: 6.855 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2374, allocations: 91.95 kB / 337.7 MB, free: 6.766 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2376, allocations: 139.3 kB / 337.8 MB, free: 6.617 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.2379, allocations: 200.9 kB / 338 MB, free: 6.418 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2379, allocations: 0 / 338 MB, free: 6.418 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005505/0.2384, allocations: 298.1 kB / 338.3 MB, free: 6.117 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2385, allocations: 11.98 kB / 338.3 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.2385, allocations: 4 kB / 338.4 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.2387, allocations: 44.77 kB / 338.4 MB, free: 6.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2388, allocations: 35.91 kB / 338.4 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.2401, allocations: 1.409 MB / 339.8 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.2402, allocations: 12.02 kB / 339.9 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2402, allocations: 4 kB / 339.9 MB, free: 4.461 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2403, allocations: 137.8 kB / 340 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.2404, allocations: 15.81 kB / 340 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.2405, allocations: 29.62 kB / 340 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2405, allocations: 0 / 340 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2405, allocations: 0 / 340 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2405, allocations: 3.938 kB / 340 MB, free: 4.27 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.2407, allocations: 249.5 kB / 340.3 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2408, allocations: 3.938 kB / 340.3 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.241, allocations: 51.95 kB / 340.3 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.241, allocations: 4 kB / 340.3 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2411, allocations: 4 kB / 340.3 MB, free: 3.914 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2411, allocations: 0 / 340.3 MB, free: 3.914 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2411, allocations: 4 kB / 340.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.2416, allocations: 415 kB / 340.8 MB, free: 3.488 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2417, allocations: 88.92 kB / 340.8 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.2417, allocations: 4 kB / 340.8 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2418, allocations: 4 kB / 340.8 MB, free: 3.375 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.2419, allocations: 12.03 kB / 340.9 MB, free: 3.363 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2419, allocations: 8 kB / 340.9 MB, free: 3.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.242, allocations: 127.2 kB / 341 MB, free: 3.23 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.242, allocations: 0 / 341 MB, free: 3.23 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001632/0.2436, allocations: 0.5117 MB / 341.5 MB, free: 2.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009562/0.2446, allocations: 0.5416 MB / 342 MB, free: 2.168 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.2452, allocations: 397.8 kB / 342.4 MB, free: 1.754 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2453, allocations: 0 / 342.4 MB, free: 1.754 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2454, allocations: 91.88 kB / 342.5 MB, free: 1.664 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2457, allocations: 32.59 kB / 342.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.2463, allocations: 444.1 kB / 343 MB, free: 1.176 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2467, allocations: 0.7322 MB / 343.7 MB, free: 428 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.2468, allocations: 37.06 kB / 343.8 MB, free: 392 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2468, allocations: 15.44 kB / 343.8 MB, free: 376 kB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2468, allocations: 0 / 343.8 MB, free: 376 kB / 270.1 MB Notification: Performance of Templates: time 0.01201/0.2588, allocations: 7.783 MB / 351.6 MB, free: 8.57 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)