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.001486/0.00149, allocations: 181 kB / 13.7 MB, free: 1.625 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.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001077/0.001076, allocations: 78.72 kB / 267.5 MB, free: 14.05 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.1/0.1, allocations: 12.6 MB / 328.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.166e-05/4.183e-05, allocations: 4 kB / 386 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3039, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.4471, allocations: 79.1 MB / 0.5034 GB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4474, allocations: 59.97 kB / 0.5034 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0102/0.4576, allocations: 2.156 MB / 0.5055 GB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4577, allocations: 0 / 0.5055 GB, free: 12.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.4577, allocations: 4 kB / 0.5055 GB, free: 12.72 MB / 362.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.0008051/0.4585, allocations: 439 kB / 0.5059 GB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4586, allocations: 8.031 kB / 0.5059 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.4587, allocations: 11.91 kB / 0.506 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.4589, allocations: 202.8 kB / 0.5062 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.459, allocations: 11.95 kB / 0.5062 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.459, allocations: 15.98 kB / 0.5062 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.4597, allocations: 240.5 kB / 0.5064 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4597, allocations: 0 / 0.5064 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4597, allocations: 3.938 kB / 0.5064 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.4597, allocations: 4 kB / 0.5064 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.46, allocations: 67.97 kB / 0.5065 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.4607, allocations: 365.4 kB / 0.5068 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.4612, allocations: 181.2 kB / 0.507 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.4614, allocations: 73.7 kB / 0.5071 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4614, allocations: 4 kB / 0.5071 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.4617, allocations: 103.4 kB / 0.5072 GB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.4617, allocations: 0 / 0.5072 GB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006103/0.4623, allocations: 205.7 kB / 0.5074 GB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.4624, allocations: 93.08 kB / 0.5075 GB, free: 10.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.4626, allocations: 149.3 kB / 0.5076 GB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.4627, allocations: 29.7 kB / 0.5076 GB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.4628, allocations: 166.7 kB / 0.5078 GB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.4628, allocations: 43.53 kB / 0.5078 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.4629, allocations: 4 kB / 0.5078 GB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.463, allocations: 326.8 kB / 0.5081 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4631, allocations: 36.47 kB / 0.5082 GB, free: 9.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.4633, allocations: 148.6 kB / 0.5083 GB, free: 9.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.4635, allocations: 72.69 kB / 0.5084 GB, free: 9.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4636, allocations: 0 / 0.5084 GB, free: 9.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004915/0.4641, allocations: 209.7 kB / 0.5086 GB, free: 9.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4641, allocations: 8 kB / 0.5086 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4641, allocations: 7.984 kB / 0.5086 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.4642, allocations: 8 kB / 0.5086 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4644, allocations: 39.86 kB / 0.5087 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.4645, allocations: 4 kB / 0.5087 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.4646, allocations: 15.91 kB / 0.5087 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.4647, allocations: 19.97 kB / 0.5087 GB, free: 9.168 MB / 362.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.0002054/0.4649, allocations: 138.9 kB / 0.5088 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.4651, allocations: 85.58 kB / 0.5089 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.4652, allocations: 16.75 kB / 0.5089 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4652, allocations: 0 / 0.5089 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4652, allocations: 7.938 kB / 0.5089 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4652, allocations: 3.984 kB / 0.5089 GB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.466, allocations: 478.4 kB / 0.5094 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4661, allocations: 4 kB / 0.5094 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.4662, allocations: 23.92 kB / 0.5094 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4663, allocations: 4 kB / 0.5094 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.4663, allocations: 4 kB / 0.5094 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4663, allocations: 0 / 0.5094 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4663, allocations: 7.938 kB / 0.5094 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.4669, allocations: 329.7 kB / 0.5097 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.467, allocations: 104.8 kB / 0.5098 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.4671, allocations: 11.94 kB / 0.5099 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.4673, allocations: 15.98 kB / 0.5099 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.4674, allocations: 11.92 kB / 0.5099 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.4674, allocations: 4 kB / 0.5099 GB, free: 7.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.4675, allocations: 123.9 kB / 0.51 GB, free: 7.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4675, allocations: 0 / 0.51 GB, free: 7.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.4679, allocations: 28 kB / 0.51 GB, free: 7.688 MB / 362.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.0001569/0.4681, allocations: 111.2 kB / 0.5101 GB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.4685, allocations: 155.7 kB / 0.5103 GB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4686, allocations: 0 / 0.5103 GB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4687, allocations: 57.22 kB / 0.5103 GB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.4691, allocations: 44.02 kB / 0.5104 GB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.4699, allocations: 244.8 kB / 0.5106 GB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.4704, allocations: 0.7283 MB / 0.5113 GB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.4705, allocations: 23.36 kB / 0.5114 GB, free: 6.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4705, allocations: 0 / 0.5114 GB, free: 6.27 MB / 362.7 MB Notification: Performance of Templates: time 0.004929/0.4754, allocations: 1.796 MB / 0.5131 GB, free: 4.473 MB / 362.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)