Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001464, allocations: 175.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008182/0.0008183, allocations: 81.38 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09385/0.09385, allocations: 12.61 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005149, allocations: 20 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 50.37 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001844/0.1243, allocations: 1.309 MB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1259, allocations: 0.804 MB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1261, allocations: 4 kB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1262, allocations: 15.86 kB / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.1271, allocations: 129 kB / 445.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1273, allocations: 27.97 kB / 445.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1274, allocations: 75.77 kB / 445.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1276, allocations: 16 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.1277, allocations: 31.91 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1278, allocations: 39.83 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1278, allocations: 4 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1282, allocations: 159.7 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1283, allocations: 31.91 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1283, allocations: 53.52 kB / 445.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1286, allocations: 163.9 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1286, allocations: 4 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1287, allocations: 0 / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1287, allocations: 0 / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006197/0.1293, allocations: 411.1 kB / 446.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1293, allocations: 12.03 kB / 446.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.1294, allocations: 16.69 kB / 446.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1296, allocations: 196.2 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1297, allocations: 8.375 kB / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1297, allocations: 4.375 kB / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.1302, allocations: 385.5 kB / 446.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1303, allocations: 3.984 kB / 446.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1303, allocations: 0 / 446.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.1303, allocations: 15.88 kB / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1305, allocations: 111.9 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1309, allocations: 313.6 kB / 447.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1312, allocations: 197.9 kB / 447.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1313, allocations: 109.8 kB / 447.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1314, allocations: 4 kB / 447.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1314, allocations: 38.56 kB / 447.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.1314, allocations: 0 / 447.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004824/0.1319, allocations: 255.2 kB / 447.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1319, allocations: 93.02 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.132, allocations: 121.8 kB / 448.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1321, allocations: 37.83 kB / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.1321, allocations: 92.45 kB / 448.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1321, allocations: 19.97 kB / 448.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1321, allocations: 4 kB / 448.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.1322, allocations: 330.8 kB / 448.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.1323, allocations: 31.98 kB / 448.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1324, allocations: 175.9 kB / 448.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1326, allocations: 212 kB / 448.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1327, allocations: 0 / 448.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002834/0.1329, allocations: 217.1 kB / 449.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.133, allocations: 11.94 kB / 449.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.133, allocations: 4 kB / 449.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.133, allocations: 4.594 kB / 449.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1332, allocations: 47.91 kB / 449.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1332, allocations: 11.94 kB / 449.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.1333, allocations: 15.91 kB / 449.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1333, allocations: 12 kB / 449.3 MB, free: 9.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (FIR1.FIRbyCoefficients1.first,$CLKPRE.FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.first,FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001123/0.1334, allocations: 153.1 kB / 449.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.1336, allocations: 169.5 kB / 449.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1337, allocations: 12.84 kB / 449.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.1337, allocations: 8 kB / 449.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1337, allocations: 4 kB / 449.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1337, allocations: 7.984 kB / 449.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1339, allocations: 197.5 kB / 449.8 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1339, allocations: 7.938 kB / 449.8 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.134, allocations: 23.98 kB / 449.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.134, allocations: 0 / 449.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.134, allocations: 7.938 kB / 449.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1341, allocations: 0 / 449.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1341, allocations: 3.984 kB / 449.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1344, allocations: 315.9 kB / 450.1 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.1344, allocations: 88.95 kB / 450.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1345, allocations: 8 kB / 450.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.1345, allocations: 7.984 kB / 450.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.1346, allocations: 4 kB / 450.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1346, allocations: 12 kB / 450.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.1346, allocations: 95.27 kB / 450.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 450.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000355/0.135, allocations: 55.98 kB / 450.4 MB, free: 8.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.u_buffer[1],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * 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.0003576/0.1354, allocations: 168.8 kB / 450.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1357, allocations: 159.8 kB / 450.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1357, allocations: 0 / 450.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.1357, allocations: 11.94 kB / 450.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1362, allocations: 113.1 kB / 450.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.1368, allocations: 394.3 kB / 451.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.137, allocations: 0.7206 MB / 452 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1371, allocations: 23.42 kB / 452 MB, free: 6.527 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1371, allocations: 0 / 452 MB, free: 6.527 MB / 298.7 MB Notification: Performance of Templates: time 0.00366/0.1407, allocations: 2.179 MB / 454.2 MB, free: 4.348 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)