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.002057/0.002057, allocations: 176.6 kB / 8.047 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001077, allocations: 99.03 kB / 261.8 MB, free: 13.44 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.1096/0.1096, allocations: 12.6 MB / 322.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.545e-05, allocations: 4 kB / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 50.37 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.5475, allocations: 78.44 MB / 0.4958 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5478, allocations: 55.55 kB / 0.4959 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009812/0.5577, allocations: 2.147 MB / 0.498 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5577, allocations: 0 / 0.498 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5578, allocations: 0 / 0.498 GB, free: 11.62 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.0007707/0.5586, allocations: 446.4 kB / 0.4984 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5586, allocations: 7.781 kB / 0.4984 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.5587, allocations: 11.69 kB / 0.4984 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.5589, allocations: 198.8 kB / 0.4986 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.559, allocations: 7.859 kB / 0.4986 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.559, allocations: 7.75 kB / 0.4986 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002387/0.5593, allocations: 69.53 kB / 0.4987 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.5597, allocations: 223.1 kB / 0.4989 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5598, allocations: 0 / 0.4989 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5598, allocations: 0 / 0.4989 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5598, allocations: 3.844 kB / 0.4989 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.5604, allocations: 328.7 kB / 0.4992 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.5608, allocations: 170.3 kB / 0.4994 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.561, allocations: 71.56 kB / 0.4995 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.561, allocations: 7.125 kB / 0.4995 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.5612, allocations: 91.75 kB / 0.4996 GB, free: 10.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.845e-06/0.5613, allocations: 0 / 0.4996 GB, free: 10.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.000553/0.5618, allocations: 205.2 kB / 0.4998 GB, free: 10.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.5619, allocations: 95.94 kB / 0.4998 GB, free: 10.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5621, allocations: 138.1 kB / 0.5 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5621, allocations: 34.77 kB / 0.5 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.5622, allocations: 102.8 kB / 0.5001 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.5622, allocations: 36.47 kB / 0.5001 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.5622, allocations: 0 / 0.5001 GB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.5623, allocations: 332.2 kB / 0.5005 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.5624, allocations: 29.78 kB / 0.5005 GB, free: 9.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.5626, allocations: 147.6 kB / 0.5006 GB, free: 9.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.5627, allocations: 64.83 kB / 0.5007 GB, free: 9.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5628, allocations: 3.719 kB / 0.5007 GB, free: 9.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003896/0.5632, allocations: 192.3 kB / 0.5009 GB, free: 9.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5632, allocations: 7.844 kB / 0.5009 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5632, allocations: 5.375 kB / 0.5009 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.5633, allocations: 7.625 kB / 0.5009 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.5635, allocations: 41.31 kB / 0.5009 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.5635, allocations: 7.844 kB / 0.5009 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.5637, allocations: 11.44 kB / 0.501 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5637, allocations: 11.81 kB / 0.501 GB, free: 9.633 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.0001989/0.5639, allocations: 129.1 kB / 0.5011 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5641, allocations: 76.28 kB / 0.5012 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.5642, allocations: 25.14 kB / 0.5012 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5642, allocations: 3.906 kB / 0.5012 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5642, allocations: 4 kB / 0.5012 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5642, allocations: 0 / 0.5012 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.5649, allocations: 449.6 kB / 0.5016 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5649, allocations: 3.906 kB / 0.5016 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5651, allocations: 14.89 kB / 0.5016 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5651, allocations: 3.906 kB / 0.5016 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5652, allocations: 10.8 kB / 0.5017 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5652, allocations: 8 kB / 0.5017 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5652, allocations: 0 / 0.5017 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.5657, allocations: 323.3 kB / 0.502 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.5657, allocations: 98.28 kB / 0.5021 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.5658, allocations: 6.547 kB / 0.5021 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.566, allocations: 18.09 kB / 0.5021 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.5661, allocations: 10.47 kB / 0.5021 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.5661, allocations: 10.61 kB / 0.5021 GB, free: 8.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.783e-05/0.5662, allocations: 108.6 kB / 0.5022 GB, free: 8.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5662, allocations: 0 / 0.5022 GB, free: 8.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004398/0.5667, allocations: 26.12 kB / 0.5022 GB, free: 8.816 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.0001355/0.5668, allocations: 109.4 kB / 0.5023 GB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.5672, allocations: 133.4 kB / 0.5025 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5672, allocations: 0 / 0.5025 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5673, allocations: 48.36 kB / 0.5025 GB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.5677, allocations: 41.53 kB / 0.5026 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.5684, allocations: 214.5 kB / 0.5028 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.5686, allocations: 0.7341 MB / 0.5035 GB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.5687, allocations: 19.91 kB / 0.5035 GB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.5688, allocations: 15.19 kB / 0.5035 GB, free: 7.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5688, allocations: 0 / 0.5035 GB, free: 7.887 MB / 330.7 MB Notification: Performance of Templates: time 0.008984/0.5778, allocations: 1.172 MB / 0.5047 GB, free: 7.781 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)