Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 175.9 kB / 16.77 MB, free: 5.023 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.227/1.227, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0007123/0.0007123, allocations: 78.44 kB / 271.3 MB, free: 8.238 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.06407/0.06407, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 16 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06881/0.06923, allocations: 50.37 MB / 442.9 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.001225/0.07049, allocations: 1.263 MB / 444.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.07104, allocations: 468.1 kB / 444.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.07111, allocations: 3.938 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.07127, allocations: 11.92 kB / 444.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.07131, allocations: 15.91 kB / 444.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.07155, allocations: 47.84 kB / 444.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.07164, allocations: 59.77 kB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.07173, allocations: 16.19 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.07181, allocations: 31.91 kB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.07194, allocations: 47.77 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.07196, allocations: 0 / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.07198, allocations: 4 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.07203, allocations: 19.98 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.07208, allocations: 57.48 kB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.252e-05/0.07215, allocations: 40.2 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.07216, allocations: 4 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07217, allocations: 0 / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.07218, allocations: 0 / 445 MB, free: 14.04 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003997/0.07258, allocations: 379.2 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.07262, allocations: 8.031 kB / 445.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.07266, allocations: 12.84 kB / 445.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.07282, allocations: 200.1 kB / 445.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.07284, allocations: 384 / 445.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.07286, allocations: 8.375 kB / 445.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.07321, allocations: 237 kB / 445.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.07323, allocations: 3.938 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.07324, allocations: 0 / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.07326, allocations: 7.938 kB / 445.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.0734, allocations: 63.95 kB / 445.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.07366, allocations: 289.6 kB / 446.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.07379, allocations: 85.06 kB / 446.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.07389, allocations: 57.75 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.07392, allocations: 4 kB / 446.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.07394, allocations: 38.69 kB / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.07395, allocations: 3.984 kB / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003193/0.07427, allocations: 161.5 kB / 446.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.07432, allocations: 85.11 kB / 446.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.0744, allocations: 134.3 kB / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.07441, allocations: 29.7 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.07444, allocations: 88.14 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.07447, allocations: 23.78 kB / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.07448, allocations: 7.875 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.07452, allocations: 318.8 kB / 447.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.07459, allocations: 31.97 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.07466, allocations: 97.42 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.07479, allocations: 125.3 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0748, allocations: 3.984 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001898/0.075, allocations: 149.6 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.07502, allocations: 8 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.07503, allocations: 4 kB / 447.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.07505, allocations: 0 / 447.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.07515, allocations: 27.92 kB / 447.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.07517, allocations: 7.984 kB / 447.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.07523, allocations: 15.92 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.07525, allocations: 8 kB / 447.7 MB, free: 11.05 MB / 298.7 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 (fIRbyCoefficients.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.07532, allocations: 134.5 kB / 447.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.07546, allocations: 101.6 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.0755, allocations: 24.25 kB / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.07551, allocations: 0 / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.07551, allocations: 4 kB / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.07552, allocations: 0 / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.07564, allocations: 189.5 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.07565, allocations: 0 / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.07575, allocations: 19.98 kB / 448.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.07576, allocations: 0 / 448.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.07578, allocations: 4 kB / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.07578, allocations: 4 kB / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.07579, allocations: 0 / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.07599, allocations: 232.1 kB / 448.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.07602, allocations: 88.95 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.07605, allocations: 8 kB / 448.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.07613, allocations: 8 kB / 448.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.07616, allocations: 3.984 kB / 448.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.07618, allocations: 4 kB / 448.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.07624, allocations: 103.2 kB / 448.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07625, allocations: 96 / 448.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.07648, allocations: 15.94 kB / 448.6 MB, free: 10.03 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 (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 (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 7.006e-05/0.07656, allocations: 99.25 kB / 448.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.07674, allocations: 95.83 kB / 448.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.07675, allocations: 0 / 448.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.07679, allocations: 15.92 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.07709, allocations: 60.66 kB / 448.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.07759, allocations: 303.6 kB / 449.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.07773, allocations: 0.7083 MB / 449.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.07777, allocations: 15.44 kB / 449.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.07778, allocations: 0 / 449.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of Templates: time 0.002098/0.07988, allocations: 1.226 MB / 451.1 MB, free: 7.449 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1 --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)