Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 174.4 kB / 16.77 MB, free: 4.902 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.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9 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.0006811/0.0006811, allocations: 102.9 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0624/0.0624, allocations: 12.2 MB / 331.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004241, allocations: 12 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07687, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001267/0.07819, allocations: 1.305 MB / 443.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.07921, allocations: 0.8001 MB / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.07929, allocations: 11.88 kB / 444.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.07942, allocations: 7.922 kB / 444.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.0799, allocations: 131.6 kB / 444.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.08007, allocations: 43.84 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.08017, allocations: 71.81 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.08026, allocations: 15.98 kB / 444.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.0803, allocations: 27.86 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.08041, allocations: 47.81 kB / 444.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.08044, allocations: 8 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.08068, allocations: 155.8 kB / 445.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.08073, allocations: 23.97 kB / 445.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.08078, allocations: 65.44 kB / 445.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.08095, allocations: 159.9 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.08096, allocations: 0 / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08097, allocations: 4 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.08097, allocations: 0 / 445.4 MB, free: 13.66 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.0004114/0.08139, allocations: 407.2 kB / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.08143, allocations: 15.97 kB / 445.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.08147, allocations: 38.75 kB / 445.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.0815, allocations: 12.75 kB / 445.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.08163, allocations: 201.1 kB / 446 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.08166, allocations: 8.359 kB / 446 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.08168, allocations: 8.375 kB / 446 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.08215, allocations: 377.4 kB / 446.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.08217, allocations: 4 kB / 446.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.08219, allocations: 4 kB / 446.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.08222, allocations: 11.98 kB / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.0824, allocations: 107.9 kB / 446.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.08266, allocations: 305.5 kB / 446.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.0829, allocations: 194.3 kB / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.08304, allocations: 109.7 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.08307, allocations: 7.984 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.08309, allocations: 38.5 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.0831, allocations: 0 / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004052/0.08351, allocations: 259.2 kB / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.08356, allocations: 93 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.08363, allocations: 133.8 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.08365, allocations: 29.83 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.08368, allocations: 92.47 kB / 447.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.0837, allocations: 19.97 kB / 447.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.08372, allocations: 4 kB / 447.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.08376, allocations: 326.8 kB / 448.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.08384, allocations: 43.97 kB / 448.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.08395, allocations: 167.9 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.08412, allocations: 212 kB / 448.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.08413, allocations: 3.938 kB / 448.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002496/0.08438, allocations: 225 kB / 448.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.0844, allocations: 4 kB / 448.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.08442, allocations: 8 kB / 448.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.08443, allocations: 4.594 kB / 448.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.08455, allocations: 43.92 kB / 448.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.08457, allocations: 7.938 kB / 448.8 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.08464, allocations: 23.89 kB / 448.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.08466, allocations: 8 kB / 448.8 MB, free: 9.797 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 7.876e-05/0.08474, allocations: 148.4 kB / 449 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.08494, allocations: 169.5 kB / 449.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.08499, allocations: 20.83 kB / 449.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.08501, allocations: 4 kB / 449.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.08501, allocations: 4 kB / 449.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.08502, allocations: 0 / 449.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.08515, allocations: 205.5 kB / 449.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.08516, allocations: 0 / 449.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.08527, allocations: 35.91 kB / 449.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.08528, allocations: 0 / 449.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.0853, allocations: 4 kB / 449.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.0853, allocations: 4 kB / 449.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.08531, allocations: 0 / 449.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.08558, allocations: 304 kB / 449.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.08561, allocations: 92.94 kB / 449.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.08564, allocations: 8 kB / 449.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.08572, allocations: 8 kB / 449.8 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.08575, allocations: 3.984 kB / 449.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.08577, allocations: 8 kB / 449.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.08581, allocations: 103.3 kB / 449.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08581, allocations: 7.875 kB / 449.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.08612, allocations: 59.94 kB / 450 MB, free: 8.531 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.0007675/0.0869, allocations: 0.9843 MB / 451 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.08715, allocations: 164.8 kB / 451.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.08716, allocations: 0 / 451.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.0872, allocations: 8 kB / 451.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.08763, allocations: 115.9 kB / 451.3 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.08885, allocations: 0.9862 MB / 452.3 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.089, allocations: 0.7245 MB / 453 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.08906, allocations: 39.42 kB / 453 MB, free: 5.352 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.08906, allocations: 3.938 kB / 453 MB, free: 5.348 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/2.892, allocations: 2.525 MB / 455.5 MB, free: 2.82 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)