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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_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.001613/0.001613, allocations: 171 kB / 16.14 MB, free: 5.656 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.501/1.501, allocations: 205.4 MB / 222.3 MB, free: 8.934 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.0008587/0.0008586, allocations: 91.09 kB / 270.7 MB, free: 8.227 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.08078/0.08078, allocations: 12.6 MB / 331.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 50.38 MB / 443.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001527/0.11, allocations: 1.321 MB / 444.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1112, allocations: 0.8657 MB / 445.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.1113, allocations: 4 kB / 445.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1114, allocations: 7.922 kB / 445.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.1119, allocations: 129.1 kB / 445.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1121, allocations: 39.95 kB / 445.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.1122, allocations: 67.83 kB / 445.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1123, allocations: 23.98 kB / 445.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.1123, allocations: 23.86 kB / 445.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1125, allocations: 43.83 kB / 445.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1125, allocations: 4 kB / 445.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.1128, allocations: 167.7 kB / 445.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1129, allocations: 23.92 kB / 445.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.1129, allocations: 69.42 kB / 445.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1132, allocations: 223.6 kB / 446.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1132, allocations: 7.938 kB / 446.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1132, allocations: 0 / 446.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1132, allocations: 0 / 446.2 MB, free: 12.28 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.0005298/0.1137, allocations: 407.2 kB / 446.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1138, allocations: 8.031 kB / 446.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1138, allocations: 42.73 kB / 446.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1139, allocations: 12.75 kB / 446.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.114, allocations: 208.1 kB / 446.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1141, allocations: 384 / 446.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1141, allocations: 16.31 kB / 446.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.1146, allocations: 389.3 kB / 447.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1147, allocations: 0 / 447.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1147, allocations: 0 / 447.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.1147, allocations: 15.94 kB / 447.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1149, allocations: 103.9 kB / 447.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1152, allocations: 313.5 kB / 447.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1155, allocations: 185.4 kB / 447.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1156, allocations: 113.7 kB / 447.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1157, allocations: 0 / 447.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1157, allocations: 42.48 kB / 448 MB, free: 10.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.1157, allocations: 0 / 448 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004385/0.1161, allocations: 263.6 kB / 448.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1162, allocations: 89.02 kB / 448.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.1163, allocations: 125.8 kB / 448.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1163, allocations: 29.7 kB / 448.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1164, allocations: 92.47 kB / 448.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1164, allocations: 19.97 kB / 448.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.1164, allocations: 4 kB / 448.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.1165, allocations: 326.8 kB / 448.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.1166, allocations: 51.94 kB / 448.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1167, allocations: 168 kB / 449.1 MB, free: 9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1169, allocations: 204 kB / 449.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1169, allocations: 8 kB / 449.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002796/0.1172, allocations: 225.5 kB / 449.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1172, allocations: 4 kB / 449.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1172, allocations: 4 kB / 449.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1172, allocations: 8 kB / 449.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1174, allocations: 43.92 kB / 449.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1174, allocations: 4 kB / 449.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.1175, allocations: 15.89 kB / 449.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1175, allocations: 16 kB / 449.6 MB, free: 8.414 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1176, allocations: 145.7 kB / 449.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.1178, allocations: 175.9 kB / 449.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1179, allocations: 20.83 kB / 450 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.1179, allocations: 4 kB / 450 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1179, allocations: 4 kB / 450 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1179, allocations: 7.938 kB / 450 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.118, allocations: 201.5 kB / 450.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1181, allocations: 7.984 kB / 450.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1182, allocations: 23.98 kB / 450.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1182, allocations: 0 / 450.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1182, allocations: 12 kB / 450.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1182, allocations: 0 / 450.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1182, allocations: 0 / 450.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1185, allocations: 307.9 kB / 450.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.1185, allocations: 88.95 kB / 450.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1186, allocations: 15.98 kB / 450.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.1187, allocations: 11.94 kB / 450.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1187, allocations: 0 / 450.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1187, allocations: 7.984 kB / 450.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.1188, allocations: 99.27 kB / 450.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1188, allocations: 0 / 450.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.1191, allocations: 51.94 kB / 450.8 MB, free: 7.152 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008256/0.1199, allocations: 0.996 MB / 451.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1202, allocations: 155.7 kB / 451.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1202, allocations: 0 / 451.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.1202, allocations: 13.19 kB / 452 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1207, allocations: 123.8 kB / 452.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1223, allocations: 2.07 MB / 454.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.1225, allocations: 0.7323 MB / 454.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.1225, allocations: 9.031 kB / 454.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.1226, allocations: 31.42 kB / 454.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1226, allocations: 4 kB / 454.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1367, allocations: 3.606 MB / 458.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.1369, allocations: 257.8 kB / 458.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.046, allocations: 0 / 458.8 MB, free: 14.9 MB / 314.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)