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.009071/0.009072, allocations: 97.45 kB / 15.92 MB, free: 6.32 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.001402/0.001402, allocations: 201.1 kB / 16.84 MB, free: 6.23 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.846/1.846, allocations: 205.1 MB / 222.7 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0905/0.0905, allocations: 12.58 MB / 282.6 MB, free: 8.891 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.002283/0.002283, allocations: 87.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 49.4 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.003636/0.1349, allocations: 1.617 MB / 393.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000992/0.1359, allocations: 0.4919 MB / 394.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1361, allocations: 4 kB / 394.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1363, allocations: 11.92 kB / 394.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.1364, allocations: 19.86 kB / 394.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1368, allocations: 35.97 kB / 394.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1369, allocations: 63.83 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.137, allocations: 16.16 kB / 394.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1371, allocations: 27.86 kB / 394.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1373, allocations: 47.81 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1373, allocations: 4 kB / 394.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.1373, allocations: 4 kB / 394.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1374, allocations: 19.92 kB / 394.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.1375, allocations: 39.73 kB / 394.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1376, allocations: 68 kB / 394.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1376, allocations: 4 kB / 394.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1376, allocations: 0 / 394.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1376, allocations: 0 / 394.7 MB, free: 1.223 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.00061/0.1382, allocations: 379.2 kB / 395 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1383, allocations: 8.031 kB / 395 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1383, allocations: 16.69 kB / 395 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1386, allocations: 204.2 kB / 395.2 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1386, allocations: 4.375 kB / 395.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1386, allocations: 8.375 kB / 395.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.139, allocations: 224.9 kB / 395.5 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.139, allocations: 4 kB / 395.5 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.139, allocations: 8 kB / 395.5 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.139, allocations: 0 / 395.5 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1392, allocations: 55.95 kB / 395.5 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1395, allocations: 289.6 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1397, allocations: 89.25 kB / 395.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1398, allocations: 57.75 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1399, allocations: 4 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1399, allocations: 30.56 kB / 396 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1399, allocations: 0 / 396 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003652/0.1403, allocations: 165.4 kB / 396.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.1403, allocations: 89.05 kB / 396.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.1404, allocations: 125.8 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1405, allocations: 25.7 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1405, allocations: 92.14 kB / 396.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1406, allocations: 15.89 kB / 396.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1406, allocations: 25.84 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1407, allocations: 326.8 kB / 396.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.1408, allocations: 23.98 kB / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.105e-05/0.1409, allocations: 89.42 kB / 397 MB, free: 14.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1411, allocations: 133.2 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1411, allocations: 4 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002259/0.1413, allocations: 141.5 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1413, allocations: 8.375 kB / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1413, allocations: 0 / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1414, allocations: 7.938 kB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1415, allocations: 27.92 kB / 397.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1415, allocations: 7.938 kB / 397.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.1416, allocations: 15.84 kB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1416, allocations: 8 kB / 397.3 MB, free: 14.24 MB / 302.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.0001117/0.1417, allocations: 137.9 kB / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1418, allocations: 105.5 kB / 397.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1419, allocations: 16.34 kB / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1419, allocations: 4 kB / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1419, allocations: 0 / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1419, allocations: 0 / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1421, allocations: 185.5 kB / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1421, allocations: 0 / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.1422, allocations: 19.98 kB / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1422, allocations: 0 / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1422, allocations: 11.98 kB / 397.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1422, allocations: 0 / 397.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1423, allocations: 3.938 kB / 397.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1425, allocations: 232.1 kB / 398 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1426, allocations: 81.02 kB / 398.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1426, allocations: 11.98 kB / 398.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.1427, allocations: 8 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.1427, allocations: 0 / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1427, allocations: 7.984 kB / 398.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.1428, allocations: 99.83 kB / 398.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1428, allocations: 0 / 398.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1431, allocations: 16 kB / 398.2 MB, free: 13.22 MB / 302.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 9.489e-05/0.1432, allocations: 99.19 kB / 398.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1434, allocations: 91.89 kB / 398.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1434, allocations: 0 / 398.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.1434, allocations: 11.98 kB / 398.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1438, allocations: 61.42 kB / 398.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.1444, allocations: 282.3 kB / 398.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1447, allocations: 0.716 MB / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.1447, allocations: 4.562 kB / 399.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1448, allocations: 11.44 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1448, allocations: 4 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.002797/0.1476, allocations: 0.804 MB / 400.3 MB, free: 11.09 MB / 302.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)