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.000963/0.0009631, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.299/1.299, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007739/0.0007739, allocations: 96.72 kB / 270.9 MB, free: 8.355 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.07071/0.07071, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 20 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09099, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001862/0.0929, allocations: 1.301 MB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.09433, allocations: 0.8273 MB / 445.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.09446, allocations: 0 / 445.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.09464, allocations: 11.92 kB / 445.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.09539, allocations: 137.8 kB / 445.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.09558, allocations: 39.84 kB / 445.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.0957, allocations: 59.84 kB / 445.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.09581, allocations: 19.92 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.09588, allocations: 35.84 kB / 445.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.096, allocations: 31.91 kB / 445.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.09603, allocations: 3.938 kB / 445.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.09637, allocations: 163.8 kB / 445.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.09644, allocations: 23.92 kB / 445.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.09649, allocations: 41.64 kB / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.09674, allocations: 155.9 kB / 445.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.09675, allocations: 0 / 445.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09676, allocations: 0 / 445.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09677, allocations: 0 / 445.9 MB, free: 12.94 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.0006007/0.09738, allocations: 414.9 kB / 446.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.09742, allocations: 16.02 kB / 446.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.09748, allocations: 11.81 kB / 446.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.09767, allocations: 198.9 kB / 446.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.0977, allocations: 8 kB / 446.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.09773, allocations: 7.984 kB / 446.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.09826, allocations: 374.7 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.09828, allocations: 0 / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.0983, allocations: 4 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.09834, allocations: 11.98 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.09854, allocations: 111.9 kB / 447 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.09887, allocations: 305.6 kB / 447.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.09916, allocations: 191.8 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.09932, allocations: 117.7 kB / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.09935, allocations: 0 / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.09938, allocations: 42.56 kB / 447.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.09939, allocations: 0 / 447.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004648/0.09986, allocations: 251.5 kB / 447.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.09992, allocations: 89.11 kB / 448 MB, free: 10.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.1, allocations: 125.8 kB / 448.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.1, allocations: 33.83 kB / 448.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1001, allocations: 92.45 kB / 448.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1001, allocations: 23.88 kB / 448.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1001, allocations: 8 kB / 448.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.1002, allocations: 322.8 kB / 448.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.1003, allocations: 43.97 kB / 448.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1004, allocations: 167.9 kB / 448.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1005, allocations: 83.84 kB / 448.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1005, allocations: 0 / 448.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000282/0.1008, allocations: 217.2 kB / 449.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1008, allocations: 4 kB / 449.1 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1008, allocations: 7.938 kB / 449.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1008, allocations: 8 kB / 449.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.101, allocations: 44.5 kB / 449.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.101, allocations: 11.94 kB / 449.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.1011, allocations: 31.84 kB / 449.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1011, allocations: 8 kB / 449.2 MB, free: 9.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1012, allocations: 148.9 kB / 449.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.1015, allocations: 173.5 kB / 449.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.1015, allocations: 12.84 kB / 449.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.1015, allocations: 4 kB / 449.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1015, allocations: 0 / 449.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1015, allocations: 7.984 kB / 449.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1017, allocations: 205.4 kB / 449.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1017, allocations: 0 / 449.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1018, allocations: 31.92 kB / 449.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1018, allocations: 0 / 449.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1019, allocations: 8 kB / 449.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1019, allocations: 0 / 449.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1019, allocations: 0 / 449.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.1022, allocations: 300.1 kB / 450.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.1023, allocations: 88.95 kB / 450.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1023, allocations: 11.95 kB / 450.1 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.1024, allocations: 11.98 kB / 450.2 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1024, allocations: 4 kB / 450.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1025, allocations: 0 / 450.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.1025, allocations: 104.2 kB / 450.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1025, allocations: 8 kB / 450.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.1029, allocations: 51.98 kB / 450.3 MB, free: 8.062 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 (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.0003682/0.1032, allocations: 159.8 kB / 450.5 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1035, allocations: 156.6 kB / 450.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1035, allocations: 0 / 450.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.1036, allocations: 12 kB / 450.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1041, allocations: 119.8 kB / 450.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.1047, allocations: 382.9 kB / 451.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.1049, allocations: 0.7323 MB / 451.9 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.105, allocations: 15.44 kB / 451.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.105, allocations: 0 / 451.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of Templates: time 0.004036/0.109, allocations: 2.194 MB / 454.1 MB, free: 4.238 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)