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/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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",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.001409/0.001409, allocations: 177.9 kB / 15.82 MB, free: 6.305 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.418/1.418, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008544, allocations: 94.34 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07042/0.07042, allocations: 12.6 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 18.72 kB / 392.1 MB, free: 54.81 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08665, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.00143/0.08812, allocations: 1.256 MB / 443.8 MB, free: 9.586 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.08877, allocations: 492.4 kB / 444.2 MB, free: 9.098 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.08885, allocations: 0 / 444.2 MB, free: 9.098 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.08903, allocations: 7.938 kB / 444.2 MB, free: 9.09 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.08908, allocations: 11.91 kB / 444.3 MB, free: 9.078 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.08934, allocations: 35.97 kB / 444.3 MB, free: 9.043 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.08944, allocations: 59.77 kB / 444.3 MB, free: 8.984 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.08953, allocations: 12.19 kB / 444.4 MB, free: 8.973 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.08962, allocations: 31.89 kB / 444.4 MB, free: 8.941 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.08975, allocations: 31.84 kB / 444.4 MB, free: 8.91 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.08978, allocations: 4 kB / 444.4 MB, free: 8.906 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.08981, allocations: 0 / 444.4 MB, free: 8.906 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.08987, allocations: 23.92 kB / 444.5 MB, free: 8.883 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.08993, allocations: 33.7 kB / 444.5 MB, free: 8.844 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.09004, allocations: 56.62 kB / 444.5 MB, free: 8.789 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.09005, allocations: 4 kB / 444.5 MB, free: 8.785 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09006, allocations: 4 kB / 444.5 MB, free: 8.781 MB / 282.8 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.09008, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.8 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.0005469/0.09063, allocations: 375 kB / 444.9 MB, free: 8.367 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.09068, allocations: 8.031 kB / 444.9 MB, free: 8.359 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.09073, allocations: 42.55 kB / 445 MB, free: 8.309 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.09077, allocations: 7.906 kB / 445 MB, free: 8.301 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.09098, allocations: 202.8 kB / 445.2 MB, free: 8.062 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.09101, allocations: 8 kB / 445.2 MB, free: 8.055 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.09104, allocations: 11.98 kB / 445.2 MB, free: 8.043 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.0915, allocations: 222.8 kB / 445.4 MB, free: 7.809 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.09152, allocations: 4 kB / 445.4 MB, free: 7.805 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.09154, allocations: 0 / 445.4 MB, free: 7.805 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.09157, allocations: 4 kB / 445.4 MB, free: 7.801 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.09175, allocations: 63.95 kB / 445.5 MB, free: 7.738 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.09208, allocations: 285.6 kB / 445.8 MB, free: 7.406 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.09226, allocations: 93.3 kB / 445.8 MB, free: 7.297 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.09238, allocations: 57.7 kB / 445.9 MB, free: 7.234 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.09242, allocations: 0 / 445.9 MB, free: 7.234 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.09245, allocations: 42.55 kB / 445.9 MB, free: 7.184 MB / 282.8 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.09245, allocations: 3.938 kB / 445.9 MB, free: 7.18 MB / 282.8 MB Notification: Performance of matching and sorting (n=11): time 0.0003974/0.09286, allocations: 153.5 kB / 446.1 MB, free: 7.023 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.09293, allocations: 97.03 kB / 446.2 MB, free: 6.91 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.09301, allocations: 121.8 kB / 446.3 MB, free: 6.781 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.09303, allocations: 37.83 kB / 446.3 MB, free: 6.738 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.09307, allocations: 88.12 kB / 446.4 MB, free: 6.648 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.0931, allocations: 11.91 kB / 446.4 MB, free: 6.637 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.09311, allocations: 3.938 kB / 446.4 MB, free: 6.633 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.09318, allocations: 326.8 kB / 446.8 MB, free: 6.305 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.09326, allocations: 31.97 kB / 446.8 MB, free: 6.273 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.09338, allocations: 89.44 kB / 446.9 MB, free: 6.152 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/0.09349, allocations: 47.92 kB / 446.9 MB, free: 6.105 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.0935, allocations: 7.984 kB / 446.9 MB, free: 6.098 MB / 282.8 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002361/0.09375, allocations: 145.4 kB / 447.1 MB, free: 5.949 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.09377, allocations: 4 kB / 447.1 MB, free: 5.945 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.09378, allocations: 4 kB / 447.1 MB, free: 5.941 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.0938, allocations: 4 kB / 447.1 MB, free: 5.938 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.09392, allocations: 23.98 kB / 447.1 MB, free: 5.914 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.09393, allocations: 7.938 kB / 447.1 MB, free: 5.906 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.094, allocations: 15.92 kB / 447.1 MB, free: 5.891 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.09402, allocations: 8.25 kB / 447.2 MB, free: 5.883 MB / 282.8 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 7.783e-05/0.0941, allocations: 133.6 kB / 447.3 MB, free: 5.742 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.09424, allocations: 105.5 kB / 447.4 MB, free: 5.633 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.09428, allocations: 16.38 kB / 447.4 MB, free: 5.613 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.09429, allocations: 0 / 447.4 MB, free: 5.613 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.0943, allocations: 4.469 kB / 447.4 MB, free: 5.609 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.09431, allocations: 0 / 447.4 MB, free: 5.609 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.09445, allocations: 185.5 kB / 447.6 MB, free: 5.379 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.09446, allocations: 0 / 447.6 MB, free: 5.379 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.09456, allocations: 19.98 kB / 447.6 MB, free: 5.359 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.09457, allocations: 11.94 kB / 447.6 MB, free: 5.348 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.09459, allocations: 4 kB / 447.6 MB, free: 5.344 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0946, allocations: 3.938 kB / 447.6 MB, free: 5.34 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0946, allocations: 0 / 447.6 MB, free: 5.34 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.09484, allocations: 232.2 kB / 447.9 MB, free: 5.094 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.09488, allocations: 96.94 kB / 447.9 MB, free: 4.98 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.09491, allocations: 4 kB / 447.9 MB, free: 4.977 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.095, allocations: 4 kB / 448 MB, free: 4.973 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.09503, allocations: 3.984 kB / 448 MB, free: 4.969 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.09505, allocations: 8 kB / 448 MB, free: 4.961 MB / 282.8 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.09509, allocations: 95.27 kB / 448.1 MB, free: 4.867 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0951, allocations: 0 / 448.1 MB, free: 4.867 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002431/0.09535, allocations: 16 kB / 448.1 MB, free: 4.852 MB / 282.8 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 0.0005112/0.09586, allocations: 0.8264 MB / 448.9 MB, free: 3.992 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.09608, allocations: 99.88 kB / 449 MB, free: 3.895 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.09609, allocations: 0 / 449 MB, free: 3.895 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.09613, allocations: 15.92 kB / 449 MB, free: 3.879 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.09648, allocations: 52.02 kB / 449.1 MB, free: 3.828 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.09767, allocations: 0.756 MB / 449.8 MB, free: 2.996 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.09782, allocations: 0.7043 MB / 450.5 MB, free: 2.266 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.09786, allocations: 4.562 kB / 450.5 MB, free: 2.262 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.09792, allocations: 31.42 kB / 450.6 MB, free: 2.234 MB / 282.8 MB Notification: Performance of SimCode: time 1.283e-06/0.09793, allocations: 0 / 450.6 MB, free: 2.234 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.1094, allocations: 2.011 MB / 452.6 MB, free: 244 kB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.1096, allocations: 192.1 kB / 452.8 MB, free: 0 / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.834, allocations: 0 / 452.8 MB, free: 0 / 282.8 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)