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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 97.61 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 182 kB / 16.62 MB, free: 6.137 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.563/1.563, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.08782/0.08782, allocations: 12.6 MB / 283.6 MB, free: 8.688 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.000669/0.000669, allocations: 24 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1081, allocations: 50.39 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.002273/0.1104, allocations: 1.307 MB / 396.2 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1122, allocations: 0.8039 MB / 397 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1123, allocations: 4 kB / 397 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.1125, allocations: 7.922 kB / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.1132, allocations: 131.6 kB / 397.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.1134, allocations: 31.97 kB / 397.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1135, allocations: 47.88 kB / 397.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1136, allocations: 15.98 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.1137, allocations: 23.91 kB / 397.3 MB, free: 420 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1138, allocations: 35.84 kB / 397.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1139, allocations: 4 kB / 397.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1142, allocations: 159.7 kB / 397.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.1143, allocations: 27.92 kB / 397.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.1143, allocations: 45.62 kB / 397.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1146, allocations: 163.9 kB / 397.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1146, allocations: 0 / 397.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1146, allocations: 0 / 397.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1146, allocations: 0 / 397.7 MB, free: 15.98 MB / 302.1 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.0007087/0.1153, allocations: 410.9 kB / 398.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1154, allocations: 8.031 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1154, allocations: 19.81 kB / 398.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1157, allocations: 206.8 kB / 398.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.1158, allocations: 4 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1158, allocations: 8 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.1165, allocations: 365.8 kB / 398.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1165, allocations: 3.938 kB / 398.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1165, allocations: 8 kB / 398.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.1166, allocations: 8 kB / 398.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1168, allocations: 99.92 kB / 398.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1172, allocations: 313.5 kB / 399.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1175, allocations: 189.4 kB / 399.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1175, allocations: 4.062 kB / 399.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1176, allocations: 30.56 kB / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1176, allocations: 0 / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000582/0.1181, allocations: 337.7 kB / 399.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1183, allocations: 101.2 kB / 399.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1184, allocations: 121.8 kB / 399.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1184, allocations: 29.7 kB / 399.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.1185, allocations: 92.45 kB / 400 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1185, allocations: 23.88 kB / 400 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.1185, allocations: 8 kB / 400 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1186, allocations: 322.8 kB / 400.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.1187, allocations: 47.97 kB / 400.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1189, allocations: 167.9 kB / 400.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.119, allocations: 71.91 kB / 400.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.119, allocations: 7.938 kB / 400.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003424/0.1194, allocations: 221.1 kB / 400.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1194, allocations: 4.594 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1194, allocations: 4 kB / 400.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1194, allocations: 12 kB / 400.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1196, allocations: 39.92 kB / 400.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1196, allocations: 7.938 kB / 400.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.1197, allocations: 15.91 kB / 400.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1197, allocations: 15.95 kB / 400.9 MB, free: 12.39 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.1199, allocations: 149.4 kB / 401.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.1201, allocations: 169.5 kB / 401.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.1202, allocations: 24.83 kB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.1202, allocations: 4 kB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1202, allocations: 0 / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1202, allocations: 0 / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.1204, allocations: 209.4 kB / 401.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1204, allocations: 0 / 401.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1206, allocations: 31.92 kB / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1206, allocations: 0 / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1206, allocations: 7.984 kB / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1206, allocations: 4 kB / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1206, allocations: 0 / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.121, allocations: 306.4 kB / 401.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.1211, allocations: 96.91 kB / 401.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1211, allocations: 15.97 kB / 401.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1212, allocations: 8 kB / 401.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1212, allocations: 3.938 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1213, allocations: 4 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.1213, allocations: 104.2 kB / 402.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1213, allocations: 0 / 402.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.1217, allocations: 56 kB / 402.1 MB, free: 11.11 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003635/0.1221, allocations: 159.3 kB / 402.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1224, allocations: 155.7 kB / 402.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1224, allocations: 1.188 kB / 402.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.1225, allocations: 12 kB / 402.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1228, allocations: 123.8 kB / 402.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.1235, allocations: 352.7 kB / 402.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1238, allocations: 0.7323 MB / 403.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.1238, allocations: 9.078 kB / 403.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.1239, allocations: 15.44 kB / 403.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1239, allocations: 0 / 403.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of Templates: time 0.005026/0.1289, allocations: 2.034 MB / 405.7 MB, free: 7.469 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: