Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007723/0.007723, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001279/0.001279, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001177/0.001177, allocations: 54.66 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003062/0.114, allocations: 1.82 MB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.1202, allocations: 3.55 MB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1204, allocations: 7.938 kB / 378.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.1209, allocations: 131.3 kB / 378.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.121, allocations: 35.7 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.1255, allocations: 1.773 MB / 380.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.1259, allocations: 299.2 kB / 380.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.126, allocations: 36.66 kB / 380.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1262, allocations: 111.5 kB / 380.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1263, allocations: 107.4 kB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.1264, allocations: 12 kB / 381 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.1267, allocations: 151.7 kB / 381.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1268, allocations: 67.75 kB / 381.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.127, allocations: 99.34 kB / 381.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.1274, allocations: 338.5 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1274, allocations: 0 / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1274, allocations: 4 kB / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1275, allocations: 0 / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008566/0.1283, allocations: 0.5876 MB / 382.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1284, allocations: 12.02 kB / 382.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.1284, allocations: 32.75 kB / 382.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1289, allocations: 292.5 kB / 382.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1289, allocations: 8.562 kB / 382.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1289, allocations: 19.94 kB / 382.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1293, allocations: 202.1 kB / 382.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1293, allocations: 0 / 382.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1294, allocations: 11.94 kB / 382.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1294, allocations: 4 kB / 382.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1296, allocations: 87.88 kB / 382.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.1303, allocations: 484.6 kB / 383.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1306, allocations: 174.4 kB / 383.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1307, allocations: 56.83 kB / 383.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1308, allocations: 4 kB / 383.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1308, allocations: 34.59 kB / 383.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1308, allocations: 0 / 383.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004933/0.1313, allocations: 221.4 kB / 383.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.1315, allocations: 290.7 kB / 384.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1318, allocations: 288.4 kB / 384.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1318, allocations: 29.7 kB / 384.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1319, allocations: 152.6 kB / 384.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.132, allocations: 55.52 kB / 384.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1321, allocations: 61.69 kB / 384.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1323, allocations: 338.8 kB / 385.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1325, allocations: 103.9 kB / 385.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.1327, allocations: 188.4 kB / 385.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1331, allocations: 209.5 kB / 385.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1331, allocations: 0 / 385.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004555/0.1335, allocations: 305.2 kB / 385.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1336, allocations: 8 kB / 385.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.1336, allocations: 4 kB / 385.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.1336, allocations: 4 kB / 385.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.1339, allocations: 51.95 kB / 385.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1339, allocations: 0 / 385.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.134, allocations: 27.78 kB / 385.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1341, allocations: 8 kB / 385.9 MB, free: 4.148 MB / 318.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.1342, allocations: 149.7 kB / 386.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.1343, allocations: 31.92 kB / 386.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1343, allocations: 33.92 kB / 386.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1344, allocations: 7.984 kB / 386.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1344, allocations: 3.984 kB / 386.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1344, allocations: 3.938 kB / 386.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.1347, allocations: 261.5 kB / 386.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1347, allocations: 0 / 386.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1348, allocations: 23.98 kB / 386.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1349, allocations: 0 / 386.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1349, allocations: 11.98 kB / 386.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1349, allocations: 3.938 kB / 386.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1349, allocations: 4 kB / 386.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.1354, allocations: 339.7 kB / 386.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1355, allocations: 96.97 kB / 386.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.1355, allocations: 12.14 kB / 386.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1357, allocations: 7.938 kB / 386.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1357, allocations: 11.92 kB / 386.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1357, allocations: 12 kB / 386.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1359, allocations: 195.1 kB / 387.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1359, allocations: 0 / 387.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1363, allocations: 79.83 kB / 387.2 MB, free: 2.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002488/0.1365, allocations: 151.1 kB / 387.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.137, allocations: 280.9 kB / 387.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.137, allocations: 0 / 387.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1371, allocations: 63.91 kB / 387.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1376, allocations: 76.55 kB / 387.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1386, allocations: 0.5508 MB / 388.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1391, allocations: 0.7675 MB / 389.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1392, allocations: 45.84 kB / 389.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.1392, allocations: 31.42 kB / 389.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1393, allocations: 0 / 389.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Templates: time 0.007632/0.1469, allocations: 3.765 MB / 392.9 MB, free: 12.98 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)