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.001241/0.001241, allocations: 179 kB / 15.8 MB, free: 6.34 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.499/1.499, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009998/0.0009997, allocations: 86.86 kB / 270.3 MB, free: 13.36 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.07136/0.07136, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003598, allocations: 13.91 kB / 392 MB, free: 54.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09731, allocations: 50.37 MB / 442.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.2052, allocations: 79.18 MB / 0.5093 GB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.2055, allocations: 55.97 kB / 0.5094 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006857/0.2124, allocations: 2.166 MB / 0.5115 GB, free: 9.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2124, allocations: 0 / 0.5115 GB, free: 9.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.2125, allocations: 4 kB / 0.5115 GB, free: 9.387 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.0007041/0.2132, allocations: 451.7 kB / 0.5119 GB, free: 8.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2132, allocations: 12.03 kB / 0.5119 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.2133, allocations: 23.8 kB / 0.512 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2135, allocations: 203 kB / 0.5122 GB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2136, allocations: 11.95 kB / 0.5122 GB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2136, allocations: 12 kB / 0.5122 GB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.2141, allocations: 244.5 kB / 0.5124 GB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2141, allocations: 3.984 kB / 0.5124 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2142, allocations: 7.984 kB / 0.5124 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2142, allocations: 0 / 0.5124 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2144, allocations: 79.89 kB / 0.5125 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.2149, allocations: 361.5 kB / 0.5128 GB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.2152, allocations: 181.2 kB / 0.513 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2153, allocations: 4 kB / 0.513 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.2155, allocations: 115.2 kB / 0.5131 GB, free: 7.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.2155, allocations: 0 / 0.5131 GB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005884/0.2161, allocations: 291.5 kB / 0.5134 GB, free: 7.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.2162, allocations: 101.1 kB / 0.5135 GB, free: 7.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2163, allocations: 149.2 kB / 0.5136 GB, free: 6.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2163, allocations: 29.7 kB / 0.5137 GB, free: 6.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.2164, allocations: 108.1 kB / 0.5138 GB, free: 6.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.2164, allocations: 35.55 kB / 0.5138 GB, free: 6.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.2165, allocations: 12 kB / 0.5138 GB, free: 6.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2166, allocations: 330.8 kB / 0.5141 GB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2167, allocations: 44.44 kB / 0.5142 GB, free: 6.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2169, allocations: 156.7 kB / 0.5143 GB, free: 6.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2171, allocations: 75.91 kB / 0.5144 GB, free: 6.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2171, allocations: 0 / 0.5144 GB, free: 6.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003602/0.2174, allocations: 237.1 kB / 0.5146 GB, free: 5.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2175, allocations: 4.531 kB / 0.5146 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2175, allocations: 8 kB / 0.5146 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2175, allocations: 8 kB / 0.5146 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2176, allocations: 31.92 kB / 0.5147 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.2177, allocations: 15.92 kB / 0.5147 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.2178, allocations: 19.84 kB / 0.5147 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2178, allocations: 12 kB / 0.5147 GB, free: 5.777 MB / 362.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.000194/0.218, allocations: 155.8 kB / 0.5149 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2181, allocations: 89.56 kB / 0.515 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.2182, allocations: 16.84 kB / 0.515 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2182, allocations: 3.984 kB / 0.515 GB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2182, allocations: 4 kB / 0.515 GB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2182, allocations: 3.984 kB / 0.515 GB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.2188, allocations: 490.2 kB / 0.5155 GB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2188, allocations: 0 / 0.5155 GB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.2189, allocations: 23.98 kB / 0.5155 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.219, allocations: 0 / 0.5155 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.219, allocations: 11.98 kB / 0.5155 GB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.219, allocations: 0 / 0.5155 GB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.219, allocations: 3.938 kB / 0.5155 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.2195, allocations: 361.7 kB / 0.5158 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.2195, allocations: 92.92 kB / 0.5159 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.2196, allocations: 15.92 kB / 0.5159 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2197, allocations: 11.98 kB / 0.516 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2198, allocations: 11.98 kB / 0.516 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2198, allocations: 4 kB / 0.516 GB, free: 4.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.2199, allocations: 115.9 kB / 0.5161 GB, free: 4.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2199, allocations: 4 kB / 0.5161 GB, free: 4.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.2202, allocations: 36 kB / 0.5161 GB, free: 4.23 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]) * 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.0001348/0.2203, allocations: 115 kB / 0.5162 GB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.2206, allocations: 172.7 kB / 0.5164 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2206, allocations: 0 / 0.5164 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2208, allocations: 55.97 kB / 0.5164 GB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2211, allocations: 47.7 kB / 0.5165 GB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.2217, allocations: 333.2 kB / 0.5168 GB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.222, allocations: 0.7361 MB / 0.5175 GB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.222, allocations: 17.42 kB / 0.5175 GB, free: 2.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2221, allocations: 15.44 kB / 0.5176 GB, free: 2.695 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2221, allocations: 0 / 0.5176 GB, free: 2.695 MB / 362.7 MB Notification: Performance of Templates: time 0.003694/0.2258, allocations: 1.228 MB / 0.5188 GB, free: 1.469 MB / 362.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)