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.001084/0.001084, allocations: 171.9 kB / 16.8 MB, free: 4.902 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.775/1.775, allocations: 205.4 MB / 223 MB, free: 9.016 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.0007891/0.0007891, allocations: 86.41 kB / 271.3 MB, free: 8.258 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.08231/0.08231, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004566, allocations: 19.94 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 50.36 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5085, allocations: 79.22 MB / 0.5106 GB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.5088, allocations: 59.56 kB / 0.5106 GB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006352/0.5152, allocations: 2.175 MB / 0.5127 GB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5152, allocations: 0 / 0.5127 GB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.5152, allocations: 3.812 kB / 0.5127 GB, free: 12.41 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.0006745/0.5159, allocations: 447 kB / 0.5132 GB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.516, allocations: 7.688 kB / 0.5132 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.516, allocations: 16.44 kB / 0.5132 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5163, allocations: 210.8 kB / 0.5134 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.5163, allocations: 12.19 kB / 0.5134 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5163, allocations: 11.88 kB / 0.5134 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.5168, allocations: 252.2 kB / 0.5137 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5168, allocations: 192 / 0.5137 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.5168, allocations: 7 kB / 0.5137 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.5168, allocations: 3.844 kB / 0.5137 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.517, allocations: 91.91 kB / 0.5138 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.5176, allocations: 347.6 kB / 0.5141 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.5179, allocations: 190.1 kB / 0.5143 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.518, allocations: 84.17 kB / 0.5143 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.5181, allocations: 7.484 kB / 0.5144 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.5182, allocations: 117.2 kB / 0.5145 GB, free: 11.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.5182, allocations: 0 / 0.5145 GB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005304/0.5188, allocations: 284 kB / 0.5147 GB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5188, allocations: 88.05 kB / 0.5148 GB, free: 10.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.519, allocations: 159.9 kB / 0.515 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.519, allocations: 33.11 kB / 0.515 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.519, allocations: 106.1 kB / 0.5151 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5191, allocations: 41.77 kB / 0.5151 GB, free: 10.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.5191, allocations: 3.375 kB / 0.5151 GB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.5192, allocations: 334.2 kB / 0.5155 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.5193, allocations: 53.53 kB / 0.5155 GB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.5194, allocations: 151.2 kB / 0.5157 GB, free: 10.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.5197, allocations: 234.3 kB / 0.5159 GB, free: 9.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.5198, allocations: 0 / 0.5159 GB, free: 9.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003592/0.5201, allocations: 242.1 kB / 0.5161 GB, free: 9.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5202, allocations: 8.312 kB / 0.5161 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5202, allocations: 3.844 kB / 0.5161 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.5202, allocations: 7.656 kB / 0.5161 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.5203, allocations: 34.7 kB / 0.5162 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5203, allocations: 7.812 kB / 0.5162 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.5204, allocations: 27.36 kB / 0.5162 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.5205, allocations: 7.625 kB / 0.5162 GB, free: 9.879 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.0001718/0.5206, allocations: 166.4 kB / 0.5164 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5208, allocations: 94.3 kB / 0.5165 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.5208, allocations: 15.47 kB / 0.5165 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5208, allocations: 0 / 0.5165 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5208, allocations: 3.75 kB / 0.5165 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5208, allocations: 0 / 0.5165 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.5213, allocations: 0.4893 MB / 0.517 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5213, allocations: 3.875 kB / 0.517 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.5214, allocations: 15.52 kB / 0.517 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5214, allocations: 3.844 kB / 0.517 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.5215, allocations: 7.797 kB / 0.517 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5215, allocations: 3.844 kB / 0.517 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5215, allocations: 3.938 kB / 0.517 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.5218, allocations: 344.4 kB / 0.5173 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.5219, allocations: 96.61 kB / 0.5174 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.5219, allocations: 7.828 kB / 0.5174 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.522, allocations: 19.3 kB / 0.5174 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5221, allocations: 7.719 kB / 0.5174 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5221, allocations: 11.45 kB / 0.5175 GB, free: 8.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.5222, allocations: 117.9 kB / 0.5176 GB, free: 8.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5222, allocations: 0 / 0.5176 GB, free: 8.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000297/0.5225, allocations: 30 kB / 0.5176 GB, free: 8.902 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 0.0001145/0.5226, allocations: 109 kB / 0.5177 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.5229, allocations: 163.8 kB / 0.5179 GB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.523, allocations: 0 / 0.5179 GB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.5231, allocations: 67.2 kB / 0.5179 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.5235, allocations: 54.52 kB / 0.518 GB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.5241, allocations: 344.6 kB / 0.5183 GB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.5243, allocations: 0.7276 MB / 0.519 GB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.5244, allocations: 13.42 kB / 0.519 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.5244, allocations: 15.44 kB / 0.519 GB, free: 7.602 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5244, allocations: 0 / 0.519 GB, free: 7.602 MB / 330.7 MB Notification: Performance of Templates: time 0.003726/0.5282, allocations: 1.237 MB / 0.5202 GB, free: 6.383 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)