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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 183.8 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001181/0.00118, allocations: 98.83 kB / 270.3 MB, free: 13.37 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.0988/0.0988, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005753/0.0005755, allocations: 13.44 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09984, allocations: 50.36 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.2542, allocations: 79.19 MB / 0.5094 GB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.2545, allocations: 67.89 kB / 0.5095 GB, free: 11.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.2649, allocations: 2.163 MB / 0.5116 GB, free: 9.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.265, allocations: 4 kB / 0.5116 GB, free: 9.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.265, allocations: 0 / 0.5116 GB, free: 9.309 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.0009525/0.266, allocations: 459.6 kB / 0.512 GB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.266, allocations: 8.219 kB / 0.512 GB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.2661, allocations: 50.48 kB / 0.5121 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.2662, allocations: 11.91 kB / 0.5121 GB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2665, allocations: 198.9 kB / 0.5123 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2665, allocations: 11.95 kB / 0.5123 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.2665, allocations: 11.98 kB / 0.5123 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2673, allocations: 248.5 kB / 0.5126 GB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2673, allocations: 0 / 0.5126 GB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.2673, allocations: 11.92 kB / 0.5126 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2673, allocations: 4 kB / 0.5126 GB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2677, allocations: 79.95 kB / 0.5126 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.2684, allocations: 361.4 kB / 0.513 GB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.2689, allocations: 185.2 kB / 0.5132 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.269, allocations: 0 / 0.5132 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.2693, allocations: 113 kB / 0.5133 GB, free: 7.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.785e-06/0.2693, allocations: 7.938 kB / 0.5133 GB, free: 7.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001005/0.2703, allocations: 293.8 kB / 0.5136 GB, free: 7.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.2704, allocations: 89.02 kB / 0.5137 GB, free: 6.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2706, allocations: 145.3 kB / 0.5138 GB, free: 6.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.2707, allocations: 33.7 kB / 0.5138 GB, free: 6.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.2708, allocations: 108.1 kB / 0.5139 GB, free: 6.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2709, allocations: 39.55 kB / 0.514 GB, free: 6.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.2709, allocations: 0 / 0.514 GB, free: 6.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2711, allocations: 330.8 kB / 0.5143 GB, free: 6.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2712, allocations: 48.44 kB / 0.5143 GB, free: 6.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.2715, allocations: 159.4 kB / 0.5145 GB, free: 6.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.2718, allocations: 67.98 kB / 0.5145 GB, free: 5.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2718, allocations: 7.938 kB / 0.5145 GB, free: 5.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006258/0.2724, allocations: 229.6 kB / 0.5148 GB, free: 5.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2725, allocations: 12 kB / 0.5148 GB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2725, allocations: 4 kB / 0.5148 GB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.2725, allocations: 4 kB / 0.5148 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2728, allocations: 39.92 kB / 0.5148 GB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2728, allocations: 7.938 kB / 0.5148 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.273, allocations: 19.89 kB / 0.5149 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.273, allocations: 12 kB / 0.5149 GB, free: 5.656 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.0002971/0.2733, allocations: 165.5 kB / 0.515 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.2735, allocations: 93.47 kB / 0.5151 GB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.2736, allocations: 16.84 kB / 0.5151 GB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2736, allocations: 4 kB / 0.5151 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2737, allocations: 0 / 0.5151 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.2737, allocations: 3.984 kB / 0.5151 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2747, allocations: 490.5 kB / 0.5156 GB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2747, allocations: 4 kB / 0.5156 GB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2749, allocations: 19.92 kB / 0.5156 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.2749, allocations: 4 kB / 0.5156 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.275, allocations: 3.984 kB / 0.5156 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.275, allocations: 4 kB / 0.5156 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.275, allocations: 0 / 0.5156 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.2757, allocations: 361.7 kB / 0.516 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.2758, allocations: 92.86 kB / 0.5161 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.2759, allocations: 11.92 kB / 0.5161 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2761, allocations: 15.98 kB / 0.5161 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.2762, allocations: 4 kB / 0.5161 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2762, allocations: 15.98 kB / 0.5161 GB, free: 4.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.2764, allocations: 119.9 kB / 0.5162 GB, free: 4.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2764, allocations: 3.938 kB / 0.5162 GB, free: 4.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.2768, allocations: 28 kB / 0.5163 GB, free: 4.105 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.001482/0.2783, allocations: 1.058 MB / 0.5173 GB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.2789, allocations: 156.9 kB / 0.5174 GB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2789, allocations: 4.062 kB / 0.5174 GB, free: 2.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2792, allocations: 63.91 kB / 0.5175 GB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.2796, allocations: 52.28 kB / 0.5176 GB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.274/0.5536, allocations: 3.374 MB / 0.5209 GB, free: 85.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5539, allocations: 0.7356 MB / 0.5216 GB, free: 84.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.5541, allocations: 11.66 kB / 0.5216 GB, free: 84.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5542, allocations: 39.39 kB / 0.5216 GB, free: 84.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.485e-06/0.5542, allocations: 0 / 0.5216 GB, free: 84.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.5915, allocations: 2.786 MB / 0.5243 GB, free: 84.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.5918, allocations: 201.1 kB / 0.5245 GB, free: 84.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.06, allocations: 0 / 0.5245 GB, free: 84.21 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)