Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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) 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 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_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 107.6 kB / 16.45 MB, free: 6.434 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.002385/0.002386, allocations: 187 kB / 17.38 MB, free: 5.691 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.722/1.722, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08357/0.08357, allocations: 12.59 MB / 283.2 MB, free: 15.4 MB / 238.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: Modelica_Synchronous 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.001954/0.001954, allocations: 91.2 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1349, allocations: 49.4 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.003503/0.1385, allocations: 1.558 MB / 445.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.1395, allocations: 0.4934 MB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.1396, allocations: 7.938 kB / 445.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1399, allocations: 19.86 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.14, allocations: 7.922 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1403, allocations: 47.88 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1405, allocations: 59.84 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1406, allocations: 24.09 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1407, allocations: 35.78 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1409, allocations: 43.88 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.141, allocations: 12 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.141, allocations: 4 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.1411, allocations: 23.92 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1412, allocations: 39.73 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1413, allocations: 67.78 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1414, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1414, allocations: 0 / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1414, allocations: 0 / 446 MB, free: 14.04 MB / 334.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.0007534/0.1421, allocations: 395 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1422, allocations: 12.03 kB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.1422, allocations: 12.84 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1426, allocations: 204.1 kB / 446.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1426, allocations: 4.375 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1426, allocations: 8.375 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.1431, allocations: 228.9 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1431, allocations: 3.984 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1431, allocations: 4 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1432, allocations: 4 kB / 446.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1433, allocations: 59.89 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1438, allocations: 281.7 kB / 447.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.144, allocations: 89.06 kB / 447.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1442, allocations: 57.75 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.1442, allocations: 0 / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.1443, allocations: 50.62 kB / 447.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1443, allocations: 0 / 447.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004554/0.1448, allocations: 153.5 kB / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.1449, allocations: 85.11 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.145, allocations: 125.8 kB / 447.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.145, allocations: 25.7 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.1451, allocations: 100.2 kB / 447.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1452, allocations: 19.83 kB / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1452, allocations: 29.66 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1454, allocations: 326.8 kB / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.1455, allocations: 23.97 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1456, allocations: 93.38 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.1458, allocations: 129.3 kB / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1458, allocations: 0 / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002416/0.1461, allocations: 153.3 kB / 448.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1461, allocations: 4 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1461, allocations: 4 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1461, allocations: 4 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1463, allocations: 23.92 kB / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1463, allocations: 4.344 kB / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.1464, allocations: 11.91 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1464, allocations: 12 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fIRbyCoefficients.first,fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.first,fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001123/0.1465, allocations: 129.7 kB / 448.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.1467, allocations: 97.58 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1467, allocations: 20.36 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1467, allocations: 480 / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1468, allocations: 0 / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1468, allocations: 4 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.147, allocations: 181.5 kB / 449.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.147, allocations: 8 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.1471, allocations: 23.86 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1471, allocations: 4 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1471, allocations: 3.984 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1471, allocations: 0 / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1471, allocations: 0 / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1474, allocations: 236.1 kB / 449.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1475, allocations: 89 kB / 449.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1475, allocations: 4 kB / 449.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.1476, allocations: 4 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1477, allocations: 0 / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1477, allocations: 7.984 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.1478, allocations: 99.27 kB / 449.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1478, allocations: 0 / 449.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.148, allocations: 12 kB / 449.6 MB, free: 10.03 MB / 334.1 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 (fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.u_buffer[1],fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001887/0.1482, allocations: 111.3 kB / 449.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1484, allocations: 87.83 kB / 449.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1485, allocations: 0 / 449.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.1485, allocations: 15.98 kB / 449.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1489, allocations: 60.61 kB / 449.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.1496, allocations: 247.9 kB / 450.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1499, allocations: 0.7119 MB / 450.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.1499, allocations: 4.562 kB / 450.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.15, allocations: 11.44 kB / 450.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.15, allocations: 3.938 kB / 450.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of Templates: time 0.003597/0.1536, allocations: 0.8992 MB / 451.7 MB, free: 7.82 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)