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.0007952/0.0008005, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004372/0.004372, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.351/1.351, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004623/0.0004623, allocations: 16.33 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 47.59 MB / 327 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001495/0.2244, allocations: 1.316 MB / 328.3 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.2291, allocations: 3.535 MB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2292, allocations: 1.375 kB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.2296, allocations: 52.81 kB / 331.9 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2297, allocations: 10 kB / 331.9 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.2324, allocations: 1.064 MB / 333 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.2326, allocations: 135.8 kB / 333.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2327, allocations: 28.88 kB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.2328, allocations: 47.78 kB / 333.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.2329, allocations: 47.78 kB / 333.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2329, allocations: 4 kB / 333.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2344, allocations: 1.37 MB / 334.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.2345, allocations: 31.89 kB / 334.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.2346, allocations: 73.33 kB / 334.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.2355, allocations: 1.189 MB / 335.9 MB, free: 10.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2356, allocations: 0 / 335.9 MB, free: 10.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2356, allocations: 4 kB / 335.9 MB, free: 10.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2356, allocations: 0 / 335.9 MB, free: 10.6 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.0008274/0.2364, allocations: 0.5342 MB / 336.5 MB, free: 10.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2364, allocations: 8.031 kB / 336.5 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.2365, allocations: 20.69 kB / 336.5 MB, free: 9.992 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.2367, allocations: 224 kB / 336.7 MB, free: 9.734 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2367, allocations: 4.375 kB / 336.7 MB, free: 9.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.2368, allocations: 12.38 kB / 336.7 MB, free: 9.719 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.237, allocations: 133 kB / 336.8 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.237, allocations: 0 / 336.8 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.237, allocations: 4 kB / 336.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2371, allocations: 0 / 336.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.2372, allocations: 63.89 kB / 336.9 MB, free: 9.504 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.2378, allocations: 384.5 kB / 337.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.2381, allocations: 126.5 kB / 337.4 MB, free: 8.945 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.2382, allocations: 48.83 kB / 337.5 MB, free: 8.895 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2382, allocations: 4 kB / 337.5 MB, free: 8.891 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2382, allocations: 30.56 kB / 337.5 MB, free: 8.852 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2382, allocations: 0 / 337.5 MB, free: 8.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001993/0.2402, allocations: 1.238 MB / 338.7 MB, free: 7.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.2403, allocations: 132.5 kB / 338.9 MB, free: 7.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2405, allocations: 170.4 kB / 339 MB, free: 7.145 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2405, allocations: 33.64 kB / 339.1 MB, free: 7.105 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.2405, allocations: 108.5 kB / 339.2 MB, free: 6.992 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2406, allocations: 59.19 kB / 339.2 MB, free: 6.934 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.2406, allocations: 25.72 kB / 339.3 MB, free: 6.902 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.2407, allocations: 334.8 kB / 339.6 MB, free: 6.566 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2409, allocations: 91.95 kB / 339.7 MB, free: 6.477 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2411, allocations: 139.3 kB / 339.8 MB, free: 6.328 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.2414, allocations: 200.9 kB / 340 MB, free: 6.129 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2414, allocations: 4 kB / 340 MB, free: 6.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004736/0.2419, allocations: 314 kB / 340.3 MB, free: 5.809 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2419, allocations: 8 kB / 340.3 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2419, allocations: 0 / 340.3 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.2421, allocations: 40.83 kB / 340.4 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2422, allocations: 31.97 kB / 340.4 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.2432, allocations: 1.405 MB / 341.8 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.2433, allocations: 20.17 kB / 341.8 MB, free: 4.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2434, allocations: 4 kB / 341.8 MB, free: 4.164 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.0001059/0.2435, allocations: 139 kB / 342 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.2435, allocations: 11.81 kB / 342 MB, free: 4.008 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.2436, allocations: 29.47 kB / 342 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2436, allocations: 4 kB / 342 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2436, allocations: 0 / 342 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2436, allocations: 7.984 kB / 342 MB, free: 3.969 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2438, allocations: 249.4 kB / 342.3 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2439, allocations: 0 / 342.3 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.2441, allocations: 51.95 kB / 342.3 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2441, allocations: 0 / 342.3 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2442, allocations: 8 kB / 342.3 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2442, allocations: 0 / 342.3 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2442, allocations: 4 kB / 342.3 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.2447, allocations: 427 kB / 342.7 MB, free: 3.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2447, allocations: 88.92 kB / 342.8 MB, free: 3.074 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2447, allocations: 4 kB / 342.8 MB, free: 3.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2448, allocations: 12.03 kB / 342.8 MB, free: 3.059 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.2449, allocations: 8 kB / 342.8 MB, free: 3.051 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2449, allocations: 0 / 342.8 MB, free: 3.051 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.245, allocations: 131.2 kB / 343 MB, free: 2.922 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.245, allocations: 0 / 343 MB, free: 2.922 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001292/0.2463, allocations: 0.5117 MB / 343.5 MB, free: 2.41 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.000915/0.2472, allocations: 0.5373 MB / 344 MB, free: 1.863 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005737/0.2478, allocations: 401.8 kB / 344.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2478, allocations: 0 / 344.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.248, allocations: 95.88 kB / 344.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.2483, allocations: 24.08 kB / 344.5 MB, free: 1.328 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.2489, allocations: 468.6 kB / 345 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2491, allocations: 0.7283 MB / 345.7 MB, free: 92 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.2492, allocations: 29.06 kB / 345.7 MB, free: 64 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2493, allocations: 15.44 kB / 345.8 MB, free: 48 kB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2493, allocations: 4 kB / 345.8 MB, free: 44 kB / 270.1 MB Notification: Performance of Templates: time 0.01292/0.2622, allocations: 7.756 MB / 353.5 MB, free: 8.273 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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)