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.001664/0.001664, allocations: 109.1 kB / 16.03 MB, free: 6.324 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.002368/0.002368, allocations: 192.5 kB / 16.95 MB, free: 6.145 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.774/1.774, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.0782/0.0782, allocations: 12.59 MB / 282.7 MB, free: 8.777 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.001778/0.001778, allocations: 80.78 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09881, allocations: 49.39 MB / 392.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.00304/0.1019, allocations: 1.621 MB / 394 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.1027, allocations: 0.4996 MB / 394.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.1028, allocations: 4 kB / 394.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1031, allocations: 7.938 kB / 394.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.1031, allocations: 11.92 kB / 394.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1034, allocations: 43.89 kB / 394.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1035, allocations: 63.83 kB / 394.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.1036, allocations: 16.17 kB / 394.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.1037, allocations: 39.84 kB / 394.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1038, allocations: 39.89 kB / 394.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1038, allocations: 7.938 kB / 394.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.1039, allocations: 8 kB / 394.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1039, allocations: 19.98 kB / 394.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.104, allocations: 39.72 kB / 394.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1041, allocations: 72 kB / 394.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1041, allocations: 0 / 394.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1041, allocations: 4 kB / 394.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1041, allocations: 0 / 394.9 MB, free: 1.086 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.0005162/0.1047, allocations: 379.2 kB / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1047, allocations: 8.031 kB / 395.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1047, allocations: 16.69 kB / 395.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1049, allocations: 204.1 kB / 395.4 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.105, allocations: 8.375 kB / 395.5 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.105, allocations: 4.375 kB / 395.5 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.1054, allocations: 229 kB / 395.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1054, allocations: 0 / 395.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1054, allocations: 4 kB / 395.7 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1054, allocations: 3.938 kB / 395.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1056, allocations: 63.89 kB / 395.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.1059, allocations: 293.6 kB / 396 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1061, allocations: 81.12 kB / 396.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1062, allocations: 53.75 kB / 396.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1062, allocations: 8.188 kB / 396.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1063, allocations: 34.5 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1063, allocations: 0 / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003504/0.1066, allocations: 161.4 kB / 396.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1067, allocations: 85.11 kB / 396.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1068, allocations: 126 kB / 396.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1068, allocations: 33.7 kB / 396.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.1069, allocations: 92.08 kB / 396.7 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1069, allocations: 15.89 kB / 396.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.107, allocations: 29.7 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1071, allocations: 318.8 kB / 397.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.1072, allocations: 31.97 kB / 397.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1074, allocations: 89.44 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1075, allocations: 121.3 kB / 397.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1076, allocations: 11.94 kB / 397.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002126/0.1078, allocations: 141.3 kB / 397.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1078, allocations: 8 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1078, allocations: 4 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1078, allocations: 4.344 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1079, allocations: 31.92 kB / 397.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.108, allocations: 4 kB / 397.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.108, allocations: 19.83 kB / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1081, allocations: 4 kB / 397.5 MB, free: 14.1 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 9.529e-05/0.1082, allocations: 137.7 kB / 397.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.1083, allocations: 105.8 kB / 397.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1084, allocations: 16.36 kB / 397.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1084, allocations: 4 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1084, allocations: 0 / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1084, allocations: 4 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1086, allocations: 181.5 kB / 398 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1086, allocations: 3.984 kB / 398 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.1087, allocations: 16 kB / 398 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1087, allocations: 0 / 398 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1087, allocations: 11.98 kB / 398 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1087, allocations: 0 / 398 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1087, allocations: 0 / 398 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.109, allocations: 236 kB / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.109, allocations: 89 kB / 398.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1091, allocations: 4 kB / 398.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.1092, allocations: 4 kB / 398.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.1092, allocations: 4 kB / 398.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1092, allocations: 7.984 kB / 398.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.1093, allocations: 95.27 kB / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1093, allocations: 0 / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1095, allocations: 20 kB / 398.4 MB, free: 13.07 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 8.863e-05/0.1096, allocations: 95.25 kB / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1099, allocations: 99.77 kB / 398.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1099, allocations: 0 / 398.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1099, allocations: 8.672 kB / 398.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1103, allocations: 71.94 kB / 398.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.1108, allocations: 275.8 kB / 399 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1111, allocations: 0.7119 MB / 399.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.251e-05/0.1112, allocations: 4.562 kB / 399.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1112, allocations: 15.42 kB / 399.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1112, allocations: 0 / 399.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Templates: time 0.002868/0.1141, allocations: 0.8489 MB / 400.6 MB, free: 10.89 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)