Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.00111/0.00111, allocations: 174.2 kB / 16.8 MB, free: 5.012 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.55/1.55, allocations: 205.4 MB / 223 MB, free: 9.02 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.0007456/0.0007456, allocations: 82.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.08055/0.08055, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 12 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 50.37 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.002042/0.1084, allocations: 1.321 MB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.11, allocations: 0.8659 MB / 445.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1102, allocations: 11.88 kB / 445.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1103, allocations: 7.938 kB / 445.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.111, allocations: 137 kB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1113, allocations: 39.95 kB / 446.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1114, allocations: 67.84 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1115, allocations: 23.92 kB / 446.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1116, allocations: 31.84 kB / 446.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1118, allocations: 35.84 kB / 446.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1118, allocations: 4 kB / 446.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1122, allocations: 175.7 kB / 446.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.1123, allocations: 19.92 kB / 446.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1124, allocations: 69.44 kB / 446.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1126, allocations: 159.9 kB / 446.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1126, allocations: 0 / 446.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1127, allocations: 0 / 446.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1127, allocations: 0 / 446.6 MB, free: 12.46 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.0006471/0.1133, allocations: 415.1 kB / 447 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1134, allocations: 8.031 kB / 447.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.1134, allocations: 20.73 kB / 447.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1137, allocations: 204.1 kB / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1137, allocations: 4.375 kB / 447.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1137, allocations: 8.375 kB / 447.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.1145, allocations: 373.6 kB / 447.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1145, allocations: 0 / 447.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1145, allocations: 0 / 447.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.1146, allocations: 19.98 kB / 447.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.1148, allocations: 103.9 kB / 447.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1152, allocations: 313.5 kB / 448.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1156, allocations: 193.4 kB / 448.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1158, allocations: 115.6 kB / 448.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1159, allocations: 4 kB / 448.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1159, allocations: 38.5 kB / 448.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.1159, allocations: 0 / 448.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006364/0.1166, allocations: 257.5 kB / 448.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.1166, allocations: 93.02 kB / 448.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1168, allocations: 130 kB / 448.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1168, allocations: 29.7 kB / 448.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.1168, allocations: 88.47 kB / 449 MB, free: 9.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1169, allocations: 19.97 kB / 449 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.1169, allocations: 8 kB / 449 MB, free: 9.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.117, allocations: 326.8 kB / 449.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1171, allocations: 43.97 kB / 449.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1172, allocations: 167.9 kB / 449.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1175, allocations: 212 kB / 449.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1175, allocations: 4 kB / 449.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000371/0.1179, allocations: 217.1 kB / 450 MB, free: 8.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1179, allocations: 10.66 kB / 450 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1179, allocations: 7.938 kB / 450 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.344e-05/0.118, allocations: 4.594 kB / 450 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1182, allocations: 47.92 kB / 450 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1183, allocations: 15.92 kB / 450.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1184, allocations: 15.91 kB / 450.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1184, allocations: 8 kB / 450.1 MB, free: 8.645 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.1185, allocations: 145.6 kB / 450.2 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.1189, allocations: 177.4 kB / 450.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1189, allocations: 12.84 kB / 450.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.1189, allocations: 4 kB / 450.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1189, allocations: 8 kB / 450.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.119, allocations: 0 / 450.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1192, allocations: 209.5 kB / 450.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1192, allocations: 0 / 450.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1193, allocations: 27.92 kB / 450.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1193, allocations: 0 / 450.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1194, allocations: 11.94 kB / 450.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1194, allocations: 0 / 450.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1194, allocations: 0 / 450.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.1198, allocations: 312 kB / 451 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.1198, allocations: 88.95 kB / 451.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1199, allocations: 8 kB / 451.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.12, allocations: 11.98 kB / 451.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1201, allocations: 0 / 451.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1201, allocations: 8 kB / 451.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.1201, allocations: 103.2 kB / 451.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1202, allocations: 0 / 451.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005348/0.1207, allocations: 55.98 kB / 451.2 MB, free: 7.383 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 (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.0004443/0.1212, allocations: 164.8 kB / 451.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.1215, allocations: 151.8 kB / 451.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1215, allocations: 0 / 451.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.1216, allocations: 11.98 kB / 451.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1223, allocations: 125 kB / 451.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.1231, allocations: 394.5 kB / 452.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.1234, allocations: 0.7245 MB / 452.8 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1234, allocations: 23.44 kB / 452.8 MB, free: 5.738 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1234, allocations: 3.938 kB / 452.8 MB, free: 5.734 MB / 298.7 MB Notification: Performance of Templates: time 0.004938/0.1284, allocations: 2.183 MB / 455 MB, free: 3.551 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)