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.0008441/0.0008441, allocations: 177.6 kB / 8.045 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 1.494/1.494, allocations: 205.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 95.88 kB / 261.8 MB, free: 1.668 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.08224/0.08224, allocations: 12.6 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.07e-05, allocations: 4 kB / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.347, allocations: 78.43 MB / 0.4958 GB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.3472, allocations: 59.97 kB / 0.4959 GB, free: 3.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00639/0.3536, allocations: 2.141 MB / 0.498 GB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3537, allocations: 0 / 0.498 GB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3537, allocations: 4 kB / 0.498 GB, free: 1.594 MB / 346.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.0006075/0.3543, allocations: 435.1 kB / 0.4984 GB, free: 1.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3544, allocations: 15.97 kB / 0.4984 GB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.3544, allocations: 11.91 kB / 0.4984 GB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3546, allocations: 197.3 kB / 0.4986 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3547, allocations: 15.94 kB / 0.4986 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3547, allocations: 4 kB / 0.4986 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/0.3549, allocations: 67.92 kB / 0.4987 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.3553, allocations: 220.7 kB / 0.4989 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3553, allocations: 3.938 kB / 0.4989 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3553, allocations: 3.984 kB / 0.4989 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3553, allocations: 4 kB / 0.4989 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3558, allocations: 326 kB / 0.4992 GB, free: 172 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3561, allocations: 165.3 kB / 0.4994 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3562, allocations: 77.59 kB / 0.4995 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3563, allocations: 8 kB / 0.4995 GB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3564, allocations: 95.48 kB / 0.4996 GB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.3564, allocations: 3.938 kB / 0.4996 GB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003694/0.3568, allocations: 197.6 kB / 0.4998 GB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.3569, allocations: 101.3 kB / 0.4998 GB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.357, allocations: 133.3 kB / 0.5 GB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3571, allocations: 33.64 kB / 0.5 GB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.3571, allocations: 104.1 kB / 0.5001 GB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3572, allocations: 39.55 kB / 0.5001 GB, free: 15.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.3572, allocations: 0 / 0.5001 GB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3573, allocations: 330.8 kB / 0.5005 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3574, allocations: 32.47 kB / 0.5005 GB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3575, allocations: 144.4 kB / 0.5006 GB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.3576, allocations: 63.86 kB / 0.5007 GB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3576, allocations: 8 kB / 0.5007 GB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002766/0.3579, allocations: 185.2 kB / 0.5009 GB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.358, allocations: 8.531 kB / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.358, allocations: 11.98 kB / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.358, allocations: 4 kB / 0.5009 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3582, allocations: 35.92 kB / 0.5009 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3582, allocations: 11.92 kB / 0.5009 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.3583, allocations: 11.91 kB / 0.501 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3583, allocations: 12 kB / 0.501 GB, free: 14.24 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.0001541/0.3585, allocations: 127.1 kB / 0.5011 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3586, allocations: 81.58 kB / 0.5012 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.3586, allocations: 20.73 kB / 0.5012 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3587, allocations: 4 kB / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3587, allocations: 0 / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3587, allocations: 0 / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.3592, allocations: 446.8 kB / 0.5016 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3592, allocations: 0 / 0.5016 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.3593, allocations: 19.98 kB / 0.5016 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3593, allocations: 8 kB / 0.5016 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.3593, allocations: 7.984 kB / 0.5016 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3594, allocations: 4 kB / 0.5017 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3594, allocations: 0 / 0.5017 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.3598, allocations: 327 kB / 0.502 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3598, allocations: 92.86 kB / 0.5021 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3599, allocations: 7.984 kB / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.36, allocations: 19.92 kB / 0.5021 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.36, allocations: 4 kB / 0.5021 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.3601, allocations: 11.98 kB / 0.5021 GB, free: 12.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.537e-05/0.3602, allocations: 107.3 kB / 0.5022 GB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3602, allocations: 3.938 kB / 0.5022 GB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.3604, allocations: 24 kB / 0.5022 GB, free: 12.86 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.0001373/0.3606, allocations: 111.2 kB / 0.5023 GB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3608, allocations: 134.2 kB / 0.5025 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3608, allocations: 0 / 0.5025 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.3609, allocations: 55.91 kB / 0.5025 GB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3612, allocations: 43.34 kB / 0.5026 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.3617, allocations: 207.3 kB / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3621, allocations: 0.7397 MB / 0.5035 GB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.3622, allocations: 13.2 kB / 0.5035 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3622, allocations: 15.44 kB / 0.5035 GB, free: 11.5 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3622, allocations: 3.938 kB / 0.5035 GB, free: 11.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003552/0.3658, allocations: 1.168 MB / 0.5046 GB, free: 10.33 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)