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.0008586/0.0008587, allocations: 177.4 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.562/1.562, allocations: 205.4 MB / 222 MB, free: 13.82 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.0008805/0.0008804, allocations: 98.28 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08618/0.08618, allocations: 12.59 MB / 331.2 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004412, allocations: 13.34 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001613/0.1108, allocations: 1.306 MB / 443.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1119, allocations: 0.8156 MB / 444.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.112, allocations: 4 kB / 444.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1122, allocations: 7.922 kB / 444.6 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.1128, allocations: 133.4 kB / 444.8 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.1129, allocations: 33.84 kB / 444.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.113, allocations: 63.78 kB / 444.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1131, allocations: 19.98 kB / 444.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.1132, allocations: 23.91 kB / 444.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1133, allocations: 39.84 kB / 444.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1134, allocations: 4 kB / 444.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.1136, allocations: 163.7 kB / 445.1 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1137, allocations: 27.92 kB / 445.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1137, allocations: 37.64 kB / 445.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.114, allocations: 164.4 kB / 445.3 MB, free: 7.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.114, allocations: 0 / 445.3 MB, free: 7.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.114, allocations: 4 kB / 445.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.114, allocations: 4 kB / 445.3 MB, free: 7.973 MB / 282.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.0006003/0.1146, allocations: 407 kB / 445.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.1147, allocations: 8.031 kB / 445.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.1147, allocations: 42.5 kB / 445.8 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1148, allocations: 11.81 kB / 445.8 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.115, allocations: 202.8 kB / 446 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.115, allocations: 7.984 kB / 446 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1151, allocations: 8 kB / 446 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.1157, allocations: 377.5 kB / 446.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1157, allocations: 0 / 446.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1157, allocations: 4 kB / 446.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.1158, allocations: 15.98 kB / 446.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.116, allocations: 103.9 kB / 446.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.1163, allocations: 305.6 kB / 446.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1166, allocations: 193.3 kB / 447 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1168, allocations: 113.7 kB / 447.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1169, allocations: 4 kB / 447.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1169, allocations: 42.5 kB / 447.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.1169, allocations: 0 / 447.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005741/0.1175, allocations: 256.2 kB / 447.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1176, allocations: 93.23 kB / 447.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.1176, allocations: 121.8 kB / 447.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1177, allocations: 37.69 kB / 447.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1177, allocations: 88.47 kB / 447.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1177, allocations: 19.94 kB / 447.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.1177, allocations: 8 kB / 447.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.1178, allocations: 326.8 kB / 448.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1179, allocations: 39.97 kB / 448.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.118, allocations: 179.9 kB / 448.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.1181, allocations: 71.91 kB / 448.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1181, allocations: 0 / 448.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003192/0.1184, allocations: 213.2 kB / 448.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1185, allocations: 4 kB / 448.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1185, allocations: 8.594 kB / 448.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1185, allocations: 4 kB / 448.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1187, allocations: 47.92 kB / 448.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1187, allocations: 15.92 kB / 448.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.1188, allocations: 19.8 kB / 448.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1188, allocations: 12 kB / 448.7 MB, free: 4.312 MB / 282.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.0001032/0.1189, allocations: 149.5 kB / 448.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.1191, allocations: 165.5 kB / 449 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.1192, allocations: 20.78 kB / 449 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.1192, allocations: 8 kB / 449 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1192, allocations: 0 / 449 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1192, allocations: 4 kB / 449 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1194, allocations: 201.5 kB / 449.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1194, allocations: 4 kB / 449.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1195, allocations: 27.92 kB / 449.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1196, allocations: 3.938 kB / 449.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1196, allocations: 8 kB / 449.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1196, allocations: 0 / 449.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1196, allocations: 0 / 449.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1199, allocations: 302 kB / 449.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.1199, allocations: 88.95 kB / 449.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.12, allocations: 11.95 kB / 449.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.1201, allocations: 8 kB / 449.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1201, allocations: 7.984 kB / 449.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1201, allocations: 8 kB / 449.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.1202, allocations: 100.2 kB / 449.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 0 / 449.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000362/0.1205, allocations: 52 kB / 449.8 MB, free: 3.066 MB / 282.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.0009084/0.1214, allocations: 1.003 MB / 450.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.1217, allocations: 160.7 kB / 451 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1217, allocations: 4 kB / 451 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.1218, allocations: 15.92 kB / 451 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1223, allocations: 112 kB / 451.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1237, allocations: 0.9773 MB / 452.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.124, allocations: 0.7206 MB / 452.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.1241, allocations: 13.08 kB / 452.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.1241, allocations: 31.42 kB / 452.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1241, allocations: 4 kB / 452.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.1429, allocations: 3.589 MB / 456.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.1432, allocations: 236.7 kB / 456.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.942, allocations: 0 / 456.7 MB, free: 12.05 MB / 298.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)