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.001401/0.001401, allocations: 175.9 kB / 16.11 MB, free: 5.695 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.433/1.433, allocations: 205 MB / 221.9 MB, free: 9.148 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.0007131/0.0007131, allocations: 105.1 kB / 269.9 MB, free: 8.668 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.08306/0.08306, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 15.98 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08584, allocations: 49.97 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.00156/0.08746, allocations: 1.336 MB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.08857, allocations: 0.8774 MB / 443.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.08865, allocations: 4 kB / 443.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.0888, allocations: 7.938 kB / 443.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.08927, allocations: 140.9 kB / 443.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.08945, allocations: 43.89 kB / 443.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.08955, allocations: 63.84 kB / 443.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.08964, allocations: 23.97 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.08969, allocations: 31.84 kB / 443.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.08982, allocations: 39.84 kB / 443.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.08984, allocations: 4 kB / 443.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.0901, allocations: 171.7 kB / 443.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.09016, allocations: 23.92 kB / 443.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.09021, allocations: 43.73 kB / 443.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.09044, allocations: 219.6 kB / 444.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.09046, allocations: 4 kB / 444.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.09047, allocations: 0 / 444.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.09048, allocations: 0 / 444.2 MB, free: 13.27 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.0005372/0.09102, allocations: 407.2 kB / 444.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.09106, allocations: 8.031 kB / 444.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.0911, allocations: 46.73 kB / 444.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.09114, allocations: 12.75 kB / 444.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.0913, allocations: 212.1 kB / 444.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.09133, allocations: 4.375 kB / 444.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.09135, allocations: 8.375 kB / 444.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.09185, allocations: 377.5 kB / 445.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.09187, allocations: 0 / 445.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.09188, allocations: 3.938 kB / 445.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.09192, allocations: 8 kB / 445.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.09211, allocations: 111.8 kB / 445.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.09237, allocations: 313.5 kB / 445.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.09262, allocations: 184.3 kB / 445.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.09277, allocations: 113.8 kB / 445.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.0928, allocations: 3.984 kB / 445.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.09282, allocations: 42.5 kB / 446 MB, free: 11.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.09283, allocations: 0 / 446 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004176/0.09325, allocations: 261.6 kB / 446.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.09332, allocations: 93 kB / 446.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.09339, allocations: 121.8 kB / 446.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.09341, allocations: 29.7 kB / 446.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.09345, allocations: 92.45 kB / 446.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.09348, allocations: 27.91 kB / 446.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.09351, allocations: 21.72 kB / 446.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.09358, allocations: 326.8 kB / 446.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.09365, allocations: 44 kB / 447 MB, free: 10.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.09379, allocations: 168.1 kB / 447.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.09398, allocations: 208 kB / 447.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.09399, allocations: 8 kB / 447.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002506/0.09425, allocations: 221.6 kB / 447.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.09427, allocations: 4 kB / 447.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.09428, allocations: 8 kB / 447.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.0943, allocations: 4 kB / 447.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.09443, allocations: 39.92 kB / 447.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.09444, allocations: 15.92 kB / 447.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.09452, allocations: 15.91 kB / 447.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.09453, allocations: 8 kB / 447.6 MB, free: 9.383 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 ($CLKPRE.FIR1.FIRbyCoefficients1.first,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 8.828e-05/0.09463, allocations: 149.7 kB / 447.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.09487, allocations: 176 kB / 448 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.09492, allocations: 12.84 kB / 448 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.09494, allocations: 4 kB / 448 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.09495, allocations: 7.938 kB / 448 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.09495, allocations: 0 / 448 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.0951, allocations: 205.5 kB / 448.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.09511, allocations: 3.984 kB / 448.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.09522, allocations: 31.92 kB / 448.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.09523, allocations: 0 / 448.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.09525, allocations: 12 kB / 448.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09525, allocations: 0 / 448.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.09526, allocations: 0 / 448.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.09554, allocations: 312 kB / 448.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.09557, allocations: 88.95 kB / 448.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.0956, allocations: 12 kB / 448.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.09569, allocations: 7.984 kB / 448.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.09572, allocations: 0 / 448.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.09574, allocations: 4 kB / 448.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.09578, allocations: 99.27 kB / 448.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09579, allocations: 3.938 kB / 448.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.09609, allocations: 55.92 kB / 448.8 MB, free: 8.121 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.0008143/0.09691, allocations: 0.9964 MB / 449.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.09718, allocations: 159.7 kB / 450 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09719, allocations: 0 / 450 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.09723, allocations: 9.172 kB / 450 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.09768, allocations: 115.9 kB / 450.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.09925, allocations: 2.079 MB / 452.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.09939, allocations: 0.7245 MB / 452.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.09944, allocations: 5.094 kB / 452.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.09949, allocations: 39.42 kB / 452.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.0995, allocations: 0 / 452.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.1122, allocations: 3.61 MB / 456.5 MB, free: 128 kB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.1124, allocations: 265.8 kB / 456.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/1.996, allocations: 0 / 456.8 MB, free: 15.86 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)