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.002451/0.002451, allocations: 182.2 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.2 MB / 219 MB, free: 9.191 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.001114/0.001114, allocations: 90.55 kB / 267.1 MB, free: 9.27 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.132/0.132, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.23e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6084, allocations: 78.95 MB / 0.5033 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.6087, allocations: 66.53 kB / 0.5034 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02493/0.6337, allocations: 5.441 MB / 0.5087 GB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6338, allocations: 0 / 0.5087 GB, free: 10.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.6338, allocations: 0 / 0.5087 GB, free: 10.48 MB / 330.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.000632/0.6344, allocations: 424.2 kB / 0.5091 GB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6345, allocations: 11.66 kB / 0.5091 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.6346, allocations: 45.39 kB / 0.5092 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.6346, allocations: 7.812 kB / 0.5092 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.6349, allocations: 197.2 kB / 0.5094 GB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.6349, allocations: 15.5 kB / 0.5094 GB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.6349, allocations: 3.844 kB / 0.5094 GB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.6357, allocations: 357.7 kB / 0.5097 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6357, allocations: 0 / 0.5097 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6357, allocations: 0 / 0.5097 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.6358, allocations: 11.28 kB / 0.5097 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.636, allocations: 85.52 kB / 0.5098 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.6365, allocations: 319.4 kB / 0.5101 GB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.6369, allocations: 184 kB / 0.5103 GB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.6371, allocations: 107.4 kB / 0.5104 GB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.6371, allocations: 0 / 0.5104 GB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6372, allocations: 37.84 kB / 0.5104 GB, free: 9.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.6372, allocations: 0 / 0.5104 GB, free: 9.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004596/0.6377, allocations: 169.7 kB / 0.5106 GB, free: 9.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.6377, allocations: 100.6 kB / 0.5107 GB, free: 9.047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.6379, allocations: 121.2 kB / 0.5108 GB, free: 8.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6379, allocations: 29.36 kB / 0.5108 GB, free: 8.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.638, allocations: 92.34 kB / 0.5109 GB, free: 8.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.638, allocations: 23.08 kB / 0.511 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.638, allocations: 3.562 kB / 0.511 GB, free: 8.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.6381, allocations: 329.1 kB / 0.5113 GB, free: 8.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.6382, allocations: 32.67 kB / 0.5113 GB, free: 8.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.6383, allocations: 160.2 kB / 0.5115 GB, free: 8.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.6385, allocations: 65.44 kB / 0.5115 GB, free: 8.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6385, allocations: 3.969 kB / 0.5115 GB, free: 8.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004086/0.6389, allocations: 203.8 kB / 0.5117 GB, free: 8.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.639, allocations: 11.12 kB / 0.5117 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.639, allocations: 3.844 kB / 0.5117 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.639, allocations: 3.812 kB / 0.5117 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.6393, allocations: 45.3 kB / 0.5118 GB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.6393, allocations: 12.7 kB / 0.5118 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.6395, allocations: 26.73 kB / 0.5118 GB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.6395, allocations: 11.72 kB / 0.5118 GB, free: 8.191 MB / 330.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 () * 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.0001071/0.6396, allocations: 124.1 kB / 0.5119 GB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.64, allocations: 167.8 kB / 0.5121 GB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.6401, allocations: 18.41 kB / 0.5121 GB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.6401, allocations: 3.812 kB / 0.5121 GB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6401, allocations: 0 / 0.5121 GB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6401, allocations: 0 / 0.5121 GB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.6404, allocations: 205.9 kB / 0.5123 GB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6404, allocations: 7.938 kB / 0.5123 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.6406, allocations: 30.89 kB / 0.5124 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6406, allocations: 0 / 0.5124 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6407, allocations: 3.75 kB / 0.5124 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6407, allocations: 3.844 kB / 0.5124 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.6407, allocations: 0 / 0.5124 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.6411, allocations: 295.1 kB / 0.5127 GB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.6411, allocations: 96.73 kB / 0.5127 GB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.6412, allocations: 14.81 kB / 0.5128 GB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.6413, allocations: 7.797 kB / 0.5128 GB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.6414, allocations: 7.875 kB / 0.5128 GB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.6414, allocations: 3.844 kB / 0.5128 GB, free: 7.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.795e-05/0.6415, allocations: 98.23 kB / 0.5129 GB, free: 7.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6415, allocations: 0 / 0.5129 GB, free: 7.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005786/0.6421, allocations: 70.59 kB / 0.5129 GB, free: 7.379 MB / 330.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 () * 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.001319/0.6434, allocations: 1.064 MB / 0.514 GB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.6439, allocations: 145.8 kB / 0.5141 GB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6439, allocations: 0 / 0.5141 GB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.6439, allocations: 3.75 kB / 0.5141 GB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.6445, allocations: 114.6 kB / 0.5142 GB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.6458, allocations: 324.6 kB / 0.5145 GB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.6461, allocations: 0.7301 MB / 0.5153 GB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.165e-05/0.6462, allocations: 20.8 kB / 0.5153 GB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.6463, allocations: 32.8 kB / 0.5153 GB, free: 5.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6463, allocations: 0 / 0.5153 GB, free: 5.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.677, allocations: 3.493 MB / 0.5187 GB, free: 3.793 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.6774, allocations: 208.1 kB / 0.5189 GB, free: 3.562 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.272, allocations: 4 kB / 0.5189 GB, free: 3.559 MB / 330.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)