Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001663, allocations: 182.3 kB / 13.23 MB, free: 2.082 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.583/1.583, allocations: 205.2 MB / 219 MB, free: 9.137 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.0008658/0.0008658, allocations: 96.39 kB / 267.1 MB, free: 9.262 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.07882/0.07882, allocations: 12.58 MB / 327.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.325e-05, allocations: 3.984 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5745, allocations: 79.1 MB / 0.5034 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.5748, allocations: 58.91 kB / 0.5034 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006091/0.5809, allocations: 2.161 MB / 0.5055 GB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5809, allocations: 0 / 0.5055 GB, free: 11.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.5809, allocations: 3.844 kB / 0.5055 GB, free: 11.38 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005116/0.5815, allocations: 429.8 kB / 0.506 GB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5815, allocations: 11.09 kB / 0.506 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.5816, allocations: 14.47 kB / 0.506 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.5818, allocations: 200 kB / 0.5062 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5818, allocations: 11.73 kB / 0.5062 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.5818, allocations: 13.38 kB / 0.5062 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.5822, allocations: 240.2 kB / 0.5064 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5823, allocations: 0 / 0.5064 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5823, allocations: 3.844 kB / 0.5064 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5823, allocations: 0 / 0.5064 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5824, allocations: 72.5 kB / 0.5065 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.5829, allocations: 362.9 kB / 0.5068 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5832, allocations: 172 kB / 0.507 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5833, allocations: 86.8 kB / 0.5071 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.5833, allocations: 3.062 kB / 0.5071 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.5834, allocations: 103.7 kB / 0.5072 GB, free: 10.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.5835, allocations: 3.984 kB / 0.5072 GB, free: 10.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003449/0.5838, allocations: 211 kB / 0.5074 GB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5839, allocations: 93.56 kB / 0.5075 GB, free: 10.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.584, allocations: 145.1 kB / 0.5076 GB, free: 9.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.584, allocations: 32.8 kB / 0.5077 GB, free: 9.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.584, allocations: 104.9 kB / 0.5078 GB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5841, allocations: 37.44 kB / 0.5078 GB, free: 9.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-06/0.5841, allocations: 3.625 kB / 0.5078 GB, free: 9.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.5842, allocations: 332.8 kB / 0.5081 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.5842, allocations: 39.88 kB / 0.5082 GB, free: 9.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.5843, allocations: 149.9 kB / 0.5083 GB, free: 9.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5845, allocations: 69.97 kB / 0.5084 GB, free: 9.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5845, allocations: 0 / 0.5084 GB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002827/0.5848, allocations: 220 kB / 0.5086 GB, free: 9.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5848, allocations: 7.688 kB / 0.5086 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.5848, allocations: 3.844 kB / 0.5086 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5848, allocations: 3.844 kB / 0.5086 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.585, allocations: 41.89 kB / 0.5086 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.585, allocations: 3.844 kB / 0.5086 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.5851, allocations: 18.7 kB / 0.5086 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.5851, allocations: 15.69 kB / 0.5087 GB, free: 9.254 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(fixed = false ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.transferFunction2.firstTrigger,transferFunction2.firstTrigger,$PRE.transferFunction2.x1,transferFunction2.x1,$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$PRE.transferFunction2.xext[2],transferFunction2.xext[2],$PRE.transferFunction2.x[1],transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition1,sampler.sampleTrigger,$whenCondition2,transferFunction2.sampleTrigger,sampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001368/0.5853, allocations: 136.5 kB / 0.5088 GB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.5854, allocations: 92.14 kB / 0.5089 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.5854, allocations: 15.41 kB / 0.5089 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5854, allocations: 7.922 kB / 0.5089 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5854, allocations: 0 / 0.5089 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5855, allocations: 3.844 kB / 0.5089 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.5859, allocations: 481.1 kB / 0.5094 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5859, allocations: 0 / 0.5094 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.163e-05/0.586, allocations: 23.14 kB / 0.5094 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.586, allocations: 3.906 kB / 0.5094 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.586, allocations: 3 kB / 0.5094 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.586, allocations: 3.906 kB / 0.5094 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.586, allocations: 0 / 0.5094 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.5863, allocations: 340 kB / 0.5097 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.5864, allocations: 92.7 kB / 0.5098 GB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.5864, allocations: 10.44 kB / 0.5098 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5865, allocations: 15.2 kB / 0.5098 GB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5866, allocations: 15.67 kB / 0.5099 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.5866, allocations: 11.33 kB / 0.5099 GB, free: 8.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.665e-05/0.5867, allocations: 115.4 kB / 0.51 GB, free: 8.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5867, allocations: 4 kB / 0.51 GB, free: 8.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.587, allocations: 33.56 kB / 0.51 GB, free: 8.297 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: 12 (transferFunction2.sampleTrigger,sampler.sampleTrigger,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,transferFunction2.firstTrigger,transferFunction2.y,transferFunction2.x[1],transferFunction2.x1,transferFunction2.xext[1],transferFunction2.xext[2]) * Number of discrete states: 1 (transferFunction2.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001185/0.5871, allocations: 110.3 kB / 0.5101 GB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.5873, allocations: 151.5 kB / 0.5103 GB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5873, allocations: 0 / 0.5103 GB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.5874, allocations: 64.72 kB / 0.5103 GB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.5877, allocations: 40.75 kB / 0.5104 GB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.5882, allocations: 226.5 kB / 0.5106 GB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.5884, allocations: 0.7302 MB / 0.5113 GB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.5885, allocations: 16.83 kB / 0.5113 GB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.5885, allocations: 15.16 kB / 0.5113 GB, free: 7.281 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5885, allocations: 0 / 0.5113 GB, free: 7.281 MB / 330.7 MB Notification: Performance of Templates: time 0.003368/0.5919, allocations: 1.218 MB / 0.5125 GB, free: 6.695 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)