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.001367/0.001367, allocations: 105 kB / 16.45 MB, free: 6.391 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.001436/0.001436, allocations: 189 kB / 17.39 MB, free: 5.648 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.772/1.772, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.1362/0.1362, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001833/0.001833, allocations: 88.11 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1334, allocations: 49.4 MB / 443.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.003813/0.1373, allocations: 1.554 MB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1386, allocations: 0.5089 MB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1388, allocations: 0 / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1391, allocations: 11.88 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.1391, allocations: 7.922 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1395, allocations: 51.89 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1397, allocations: 67.81 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1399, allocations: 20.11 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.14, allocations: 35.83 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1402, allocations: 39.91 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1402, allocations: 4 kB / 445.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.1403, allocations: 11.94 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.1403, allocations: 19.98 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.1404, allocations: 39.66 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1406, allocations: 71.78 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1406, allocations: 4 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1406, allocations: 0 / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1406, allocations: 0 / 446 MB, free: 14.03 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.0006774/0.1413, allocations: 395 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1413, allocations: 8.031 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1414, allocations: 12.84 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1417, allocations: 208.1 kB / 446.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1417, allocations: 4.375 kB / 446.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1417, allocations: 4.312 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.1422, allocations: 236.9 kB / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1423, allocations: 0 / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1423, allocations: 0 / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.1423, allocations: 11.98 kB / 446.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1425, allocations: 59.89 kB / 446.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.143, allocations: 277.7 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1432, allocations: 89.25 kB / 447.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1434, allocations: 53.75 kB / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.1434, allocations: 0 / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1435, allocations: 42.5 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.61e-07/0.1435, allocations: 0 / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005221/0.144, allocations: 161.4 kB / 447.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1441, allocations: 81.11 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1443, allocations: 129.8 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1443, allocations: 25.83 kB / 447.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.1444, allocations: 104 kB / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1444, allocations: 15.78 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1445, allocations: 29.7 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.1447, allocations: 326.8 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.1448, allocations: 23.98 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.145, allocations: 93.42 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1452, allocations: 133.2 kB / 448.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1452, allocations: 0 / 448.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003077/0.1455, allocations: 145.3 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.1456, allocations: 8 kB / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1456, allocations: 4 kB / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.1456, allocations: 0 / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1458, allocations: 24.33 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.1458, allocations: 15.92 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.1459, allocations: 7.906 kB / 448.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1459, allocations: 8 kB / 448.7 MB, free: 11.02 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.000167/0.1461, allocations: 125.8 kB / 448.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.1463, allocations: 105.5 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.1463, allocations: 16.38 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1463, allocations: 480 / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1464, allocations: 0 / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1464, allocations: 0 / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.1466, allocations: 193.5 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1467, allocations: 0 / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1468, allocations: 23.92 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.1468, allocations: 4 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1468, allocations: 0 / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1468, allocations: 3.938 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1468, allocations: 4 kB / 449.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1472, allocations: 236.1 kB / 449.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.1473, allocations: 85.02 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1473, allocations: 0 / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.1474, allocations: 11.98 kB / 449.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1475, allocations: 0 / 449.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1475, allocations: 4 kB / 449.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.1476, allocations: 95.27 kB / 449.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1476, allocations: 0 / 449.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1479, allocations: 16 kB / 449.6 MB, free: 10.02 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.0002392/0.1481, allocations: 115.2 kB / 449.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1484, allocations: 91.81 kB / 449.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1484, allocations: 0 / 449.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.1485, allocations: 8 kB / 449.8 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1489, allocations: 64.62 kB / 449.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.1497, allocations: 248 kB / 450.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1501, allocations: 0.7041 MB / 450.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.1502, allocations: 12.55 kB / 450.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1502, allocations: 15.38 kB / 450.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1502, allocations: 0 / 450.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Templates: time 0.003772/0.154, allocations: 0.8943 MB / 451.7 MB, free: 7.809 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)