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.001103/0.001102, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001327/0.001326, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.897/1.897, allocations: 205.4 MB / 223.7 MB, free: 12.98 MB / 190.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.000549/0.0005495, allocations: 8.328 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1182, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002039/0.1202, allocations: 1.319 MB / 329.6 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005644/0.1259, allocations: 3.526 MB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1261, allocations: 4 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1264, allocations: 47.77 kB / 333.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.1265, allocations: 7.938 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.1293, allocations: 1.064 MB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1296, allocations: 139.6 kB / 334.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1297, allocations: 24.91 kB / 334.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.1297, allocations: 51.77 kB / 334.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.1298, allocations: 43.78 kB / 334.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1299, allocations: 4 kB / 334.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1314, allocations: 1.37 MB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.1315, allocations: 35.83 kB / 335.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1316, allocations: 73.38 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1328, allocations: 1.185 MB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1329, allocations: 3.938 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1329, allocations: 4 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1329, allocations: 0 / 337.2 MB, free: 10.83 MB / 286.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.001015/0.1339, allocations: 0.5341 MB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.134, allocations: 12.03 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.134, allocations: 12.75 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1343, allocations: 216 kB / 338 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1343, allocations: 8.375 kB / 338 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1343, allocations: 12.38 kB / 338 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1346, allocations: 129 kB / 338.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1346, allocations: 0 / 338.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1347, allocations: 3.984 kB / 338.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1347, allocations: 4 kB / 338.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1349, allocations: 67.83 kB / 338.2 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.1357, allocations: 384.5 kB / 338.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.1361, allocations: 130.5 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1362, allocations: 40.84 kB / 338.7 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1362, allocations: 4 kB / 338.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1362, allocations: 34.55 kB / 338.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1362, allocations: 0 / 338.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00254/0.1388, allocations: 1.231 MB / 340 MB, free: 7.719 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1389, allocations: 136.7 kB / 340.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1391, allocations: 174.3 kB / 340.3 MB, free: 7.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1392, allocations: 33.7 kB / 340.3 MB, free: 7.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1393, allocations: 116.3 kB / 340.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.1393, allocations: 55.27 kB / 340.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1394, allocations: 29.7 kB / 340.5 MB, free: 7.129 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1396, allocations: 326.8 kB / 340.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.1399, allocations: 95.94 kB / 341 MB, free: 6.707 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1401, allocations: 135.3 kB / 341.1 MB, free: 6.562 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.1405, allocations: 212.9 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1405, allocations: 0 / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000744/0.1412, allocations: 306 kB / 341.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1413, allocations: 8 kB / 341.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1413, allocations: 0 / 341.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.1415, allocations: 48.81 kB / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1417, allocations: 31.98 kB / 341.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.1431, allocations: 1.405 MB / 343.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.1432, allocations: 12.02 kB / 343.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1432, allocations: 4 kB / 343.1 MB, free: 4.398 MB / 286.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.00015/0.1434, allocations: 137.8 kB / 343.2 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.1434, allocations: 15.81 kB / 343.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1436, allocations: 25.47 kB / 343.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1436, allocations: 12.08 kB / 343.3 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1436, allocations: 3.984 kB / 343.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1436, allocations: 3.984 kB / 343.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.144, allocations: 245.5 kB / 343.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.144, allocations: 0 / 343.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1443, allocations: 51.95 kB / 343.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1443, allocations: 4 kB / 343.6 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1443, allocations: 4 kB / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1443, allocations: 0 / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1443, allocations: 0 / 343.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.1451, allocations: 423 kB / 344 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.1452, allocations: 88.92 kB / 344.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1452, allocations: 8 kB / 344.1 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1453, allocations: 8.031 kB / 344.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1456, allocations: 15.98 kB / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1456, allocations: 4 kB / 344.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1457, allocations: 119.2 kB / 344.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1457, allocations: 0 / 344.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.002198/0.1479, allocations: 0.5117 MB / 344.8 MB, free: 2.648 MB / 286.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.001323/0.1492, allocations: 0.549 MB / 345.3 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.15, allocations: 402.2 kB / 345.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.15, allocations: 0 / 345.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1502, allocations: 92.17 kB / 345.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1506, allocations: 24.33 kB / 345.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.1513, allocations: 472.8 kB / 346.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.1519, allocations: 0.7322 MB / 347 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.283e-05/0.152, allocations: 33.05 kB / 347 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.152, allocations: 15.44 kB / 347.1 MB, free: 276 kB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1521, allocations: 0 / 347.1 MB, free: 276 kB / 286.1 MB Notification: Performance of Templates: time 0.01523/0.1673, allocations: 7.755 MB / 354.8 MB, free: 8.5 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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)