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.002118/0.002118, allocations: 181 kB / 8.049 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.194/2.194, allocations: 205.3 MB / 213.8 MB, free: 1.738 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.001152/0.001152, allocations: 95.33 kB / 261.8 MB, free: 1.676 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.1049/0.1049, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.185e-05, allocations: 4 kB / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 50.36 MB / 429.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4588, allocations: 78.44 MB / 0.4959 GB, free: 3.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4591, allocations: 55.98 kB / 0.496 GB, free: 3.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.4691, allocations: 2.13 MB / 0.4981 GB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4692, allocations: 8 kB / 0.4981 GB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4692, allocations: 192 / 0.4981 GB, free: 1.574 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.0008834/0.4701, allocations: 442.9 kB / 0.4985 GB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.4702, allocations: 8.031 kB / 0.4985 GB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.4703, allocations: 11.91 kB / 0.4985 GB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.4706, allocations: 213.2 kB / 0.4987 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4706, allocations: 3.953 kB / 0.4987 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.4707, allocations: 8 kB / 0.4987 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000276/0.471, allocations: 75.91 kB / 0.4988 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.4715, allocations: 216.8 kB / 0.499 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4716, allocations: 0 / 0.499 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.4716, allocations: 4 kB / 0.499 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4716, allocations: 3.984 kB / 0.499 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.4723, allocations: 326 kB / 0.4993 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.4727, allocations: 165.3 kB / 0.4995 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4729, allocations: 81.69 kB / 0.4996 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.473, allocations: 0 / 0.4996 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.4732, allocations: 95.38 kB / 0.4997 GB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.4732, allocations: 0 / 0.4997 GB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005783/0.4738, allocations: 209.5 kB / 0.4999 GB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.4739, allocations: 81.11 kB / 0.4999 GB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4741, allocations: 145.5 kB / 0.5001 GB, free: 15.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4741, allocations: 29.7 kB / 0.5001 GB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.4742, allocations: 108 kB / 0.5002 GB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.4743, allocations: 43.62 kB / 0.5002 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.4743, allocations: 4 kB / 0.5003 GB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4745, allocations: 326.8 kB / 0.5006 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4746, allocations: 36.45 kB / 0.5006 GB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.4748, allocations: 144.4 kB / 0.5007 GB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.475, allocations: 63.86 kB / 0.5008 GB, free: 14.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.475, allocations: 0 / 0.5008 GB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004432/0.4755, allocations: 193.2 kB / 0.501 GB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4755, allocations: 8 kB / 0.501 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4755, allocations: 0 / 0.501 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.4756, allocations: 8 kB / 0.501 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.4758, allocations: 35.92 kB / 0.501 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4758, allocations: 12.44 kB / 0.501 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.476, allocations: 19.89 kB / 0.5011 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.476, allocations: 8 kB / 0.5011 GB, free: 14.21 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.0001962/0.4762, allocations: 127.1 kB / 0.5012 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005221/0.4768, allocations: 205.5 kB / 0.5014 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.4768, allocations: 15.81 kB / 0.5014 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.4769, allocations: 12.75 kB / 0.5014 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4769, allocations: 4 kB / 0.5014 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4769, allocations: 0 / 0.5014 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.477, allocations: 7.984 kB / 0.5014 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.4778, allocations: 451.1 kB / 0.5019 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4778, allocations: 7.922 kB / 0.5019 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.478, allocations: 15.98 kB / 0.5019 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.478, allocations: 4 kB / 0.5019 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4781, allocations: 0 / 0.5019 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4781, allocations: 4 kB / 0.5019 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4781, allocations: 0 / 0.5019 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.4786, allocations: 329.2 kB / 0.5022 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.4787, allocations: 96.84 kB / 0.5023 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.4788, allocations: 11.94 kB / 0.5023 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.479, allocations: 15.92 kB / 0.5023 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.4791, allocations: 7.984 kB / 0.5023 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.4791, allocations: 16 kB / 0.5023 GB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4793, allocations: 111.2 kB / 0.5024 GB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4793, allocations: 0 / 0.5024 GB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.4797, allocations: 24 kB / 0.5025 GB, free: 12.68 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.001154/0.4809, allocations: 1.01 MB / 0.5035 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.4813, allocations: 127.8 kB / 0.5036 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4813, allocations: 4 kB / 0.5036 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.4815, allocations: 51.86 kB / 0.5036 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.4819, allocations: 37.09 kB / 0.5037 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4829, allocations: 267.8 kB / 0.5039 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4833, allocations: 0.728 MB / 0.5046 GB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.4834, allocations: 17.14 kB / 0.5047 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4835, allocations: 39.42 kB / 0.5047 GB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4835, allocations: 4 kB / 0.5047 GB, free: 10.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.5343, allocations: 2.417 MB / 0.5071 GB, free: 7.898 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/0.5348, allocations: 159.3 kB / 0.5072 GB, free: 7.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.06, allocations: 5.203 kB / 0.5072 GB, free: 7.703 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)