Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001466/0.001471, allocations: 186.1 kB / 16.44 MB, free: 5.672 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.95/1.95, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.001139/0.001139, allocations: 92.22 kB / 270.9 MB, free: 8.367 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.1016/0.1016, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005437/0.0005438, allocations: 23.98 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08862, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5282, allocations: 79.18 MB / 0.5093 GB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5285, allocations: 57.33 kB / 0.5094 GB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009023/0.5375, allocations: 2.175 MB / 0.5115 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5375, allocations: 0 / 0.5115 GB, free: 11.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.5376, allocations: 3.812 kB / 0.5115 GB, free: 11.8 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.0007327/0.5383, allocations: 443.5 kB / 0.5119 GB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5384, allocations: 15.52 kB / 0.5119 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.5384, allocations: 15.31 kB / 0.5119 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.5386, allocations: 204.8 kB / 0.5121 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5387, allocations: 7.766 kB / 0.5121 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.5387, allocations: 11.78 kB / 0.5121 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.5393, allocations: 258 kB / 0.5124 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5393, allocations: 0 / 0.5124 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5394, allocations: 0 / 0.5124 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5394, allocations: 3.812 kB / 0.5124 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.5397, allocations: 92.34 kB / 0.5125 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.5403, allocations: 348.4 kB / 0.5128 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.5407, allocations: 185.8 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.5408, allocations: 0 / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.541, allocations: 115.7 kB / 0.5131 GB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.541, allocations: 0 / 0.5131 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008138/0.5419, allocations: 292.8 kB / 0.5134 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.5419, allocations: 92.16 kB / 0.5135 GB, free: 10.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.5421, allocations: 143.1 kB / 0.5136 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.5421, allocations: 29.39 kB / 0.5136 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.5422, allocations: 172.4 kB / 0.5138 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.5422, allocations: 42.05 kB / 0.5138 GB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.5423, allocations: 3.5 kB / 0.5138 GB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.5423, allocations: 326.2 kB / 0.5142 GB, free: 9.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5425, allocations: 41.94 kB / 0.5142 GB, free: 9.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.5427, allocations: 160 kB / 0.5143 GB, free: 9.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.5429, allocations: 77.91 kB / 0.5144 GB, free: 9.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5429, allocations: 0 / 0.5144 GB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004946/0.5434, allocations: 230.2 kB / 0.5146 GB, free: 9.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5435, allocations: 7.688 kB / 0.5146 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5435, allocations: 7.875 kB / 0.5147 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5435, allocations: 7.812 kB / 0.5147 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.5437, allocations: 31.05 kB / 0.5147 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.5438, allocations: 11.64 kB / 0.5147 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5439, allocations: 19.28 kB / 0.5147 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.5439, allocations: 11.16 kB / 0.5147 GB, free: 9.43 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(fixed = true ) "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 () * Number of clocked states: 1 (transferFunction1.x[1]) * 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.0001858/0.5441, allocations: 160.8 kB / 0.5149 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5443, allocations: 98.09 kB / 0.515 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.5444, allocations: 17.22 kB / 0.515 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5444, allocations: 0 / 0.515 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5444, allocations: 224 / 0.515 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5444, allocations: 7.891 kB / 0.515 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.5452, allocations: 497.9 kB / 0.5155 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5452, allocations: 4 kB / 0.5155 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5454, allocations: 26.36 kB / 0.5155 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5454, allocations: 0 / 0.5155 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5454, allocations: 7.797 kB / 0.5155 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5454, allocations: 0 / 0.5155 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5454, allocations: 0.7812 kB / 0.5155 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.546, allocations: 358.4 kB / 0.5159 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.5461, allocations: 92.83 kB / 0.5159 GB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.5461, allocations: 11.73 kB / 0.516 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.5463, allocations: 14.86 kB / 0.516 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5464, allocations: 7.828 kB / 0.516 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5464, allocations: 7.688 kB / 0.516 GB, free: 8.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.5465, allocations: 122.1 kB / 0.5161 GB, free: 8.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5465, allocations: 0 / 0.5161 GB, free: 8.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.5469, allocations: 30.5 kB / 0.5161 GB, free: 8.434 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]) * Number of clocked states: 1 (transferFunction1.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.0001201/0.5471, allocations: 112.3 kB / 0.5162 GB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.5475, allocations: 168.5 kB / 0.5164 GB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5475, allocations: 3.938 kB / 0.5164 GB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.5477, allocations: 57.31 kB / 0.5165 GB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.5481, allocations: 45.89 kB / 0.5165 GB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.5489, allocations: 368.1 kB / 0.5169 GB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5491, allocations: 0.7376 MB / 0.5176 GB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.5492, allocations: 22.17 kB / 0.5176 GB, free: 7.277 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5492, allocations: 0 / 0.5176 GB, free: 7.277 MB / 330.7 MB Notification: Performance of Templates: time 0.004144/0.5533, allocations: 1.79 MB / 0.5193 GB, free: 6.387 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)