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/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/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.0008936/0.0008935, allocations: 184.5 kB / 17.46 MB, free: 4.355 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.464/1.464, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.000749/0.0007491, allocations: 90.36 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06952/0.06952, allocations: 12.21 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 16 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 50.3 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4709, allocations: 79.15 MB / 0.5099 GB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4712, allocations: 60.05 kB / 0.51 GB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005702/0.4769, allocations: 2.164 MB / 0.5121 GB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4769, allocations: 0 / 0.5121 GB, free: 12.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.4769, allocations: 3.812 kB / 0.5121 GB, free: 12.16 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.0005141/0.4774, allocations: 442.1 kB / 0.5125 GB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4775, allocations: 11.47 kB / 0.5125 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.4775, allocations: 27.02 kB / 0.5126 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.4777, allocations: 210.2 kB / 0.5128 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4777, allocations: 6.969 kB / 0.5128 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4777, allocations: 11.41 kB / 0.5128 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.4781, allocations: 246.1 kB / 0.513 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4782, allocations: 4.172 kB / 0.513 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4782, allocations: 7.75 kB / 0.513 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4782, allocations: 3.844 kB / 0.513 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.4784, allocations: 83.42 kB / 0.5131 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.4788, allocations: 358.7 kB / 0.5134 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.479, allocations: 188.5 kB / 0.5136 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4792, allocations: 88.05 kB / 0.5137 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4792, allocations: 3.719 kB / 0.5137 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4794, allocations: 115.5 kB / 0.5138 GB, free: 10.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.604e-06/0.4794, allocations: 0 / 0.5138 GB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.000512/0.4799, allocations: 290.7 kB / 0.5141 GB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.48, allocations: 96.28 kB / 0.5142 GB, free: 10.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.4801, allocations: 152.2 kB / 0.5143 GB, free: 10.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4801, allocations: 32.67 kB / 0.5144 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.4801, allocations: 107.4 kB / 0.5145 GB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.4802, allocations: 34.05 kB / 0.5145 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.4802, allocations: 0 / 0.5145 GB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.4802, allocations: 337 kB / 0.5148 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.4803, allocations: 45.81 kB / 0.5149 GB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.4805, allocations: 155 kB / 0.515 GB, free: 9.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.4807, allocations: 236.2 kB / 0.5152 GB, free: 9.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4807, allocations: 0 / 0.5152 GB, free: 9.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002967/0.481, allocations: 236.9 kB / 0.5155 GB, free: 9.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4811, allocations: 3.844 kB / 0.5155 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4811, allocations: 3.844 kB / 0.5155 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4811, allocations: 7.844 kB / 0.5155 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4812, allocations: 42.08 kB / 0.5155 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4812, allocations: 11.86 kB / 0.5155 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.4813, allocations: 18.25 kB / 0.5156 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4813, allocations: 15.59 kB / 0.5156 GB, free: 9.633 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.0001591/0.4815, allocations: 163 kB / 0.5157 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4816, allocations: 91.94 kB / 0.5158 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.4817, allocations: 18.31 kB / 0.5158 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4817, allocations: 3.844 kB / 0.5158 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4817, allocations: 0 / 0.5158 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4817, allocations: 3.984 kB / 0.5158 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.4822, allocations: 493.4 kB / 0.5163 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4822, allocations: 3.844 kB / 0.5163 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.4823, allocations: 15.67 kB / 0.5163 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4823, allocations: 3.844 kB / 0.5163 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4823, allocations: 7.422 kB / 0.5163 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4823, allocations: 3.844 kB / 0.5163 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4823, allocations: 3.938 kB / 0.5163 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4827, allocations: 346.8 kB / 0.5167 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.4827, allocations: 96.61 kB / 0.5168 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.4828, allocations: 11.2 kB / 0.5168 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4829, allocations: 15.42 kB / 0.5168 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.483, allocations: 15.73 kB / 0.5168 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.483, allocations: 3.906 kB / 0.5168 GB, free: 8.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.4831, allocations: 120.8 kB / 0.5169 GB, free: 8.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4831, allocations: 0 / 0.5169 GB, free: 8.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.4833, allocations: 29.84 kB / 0.517 GB, free: 8.66 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 9.89e-05/0.4834, allocations: 114 kB / 0.5171 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.4838, allocations: 162.5 kB / 0.5172 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4838, allocations: 0 / 0.5172 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4839, allocations: 62.28 kB / 0.5173 GB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4842, allocations: 55.28 kB / 0.5173 GB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.4848, allocations: 373.4 kB / 0.5177 GB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4849, allocations: 0.7267 MB / 0.5184 GB, free: 7.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.485, allocations: 18.94 kB / 0.5184 GB, free: 7.512 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.485, allocations: 0 / 0.5184 GB, free: 7.512 MB / 330.7 MB Notification: Performance of Templates: time 0.002914/0.4879, allocations: 1.828 MB / 0.5202 GB, free: 6.582 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)