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.001947/0.001948, allocations: 172.9 kB / 16.8 MB, free: 5.012 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.798/1.798, allocations: 205.4 MB / 223 MB, free: 8.938 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.0007362/0.0007363, allocations: 86.34 kB / 271.3 MB, free: 8.234 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.1012/0.1012, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 16 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09083, allocations: 50.36 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.00171/0.0926, allocations: 1.426 MB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.09345, allocations: 0.5582 MB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.09354, allocations: 0 / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.09365, allocations: 15.86 kB / 445.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.09373, allocations: 15.86 kB / 445.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.0942, allocations: 79.84 kB / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.09434, allocations: 127.6 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.09446, allocations: 32.89 kB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.09457, allocations: 51.75 kB / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.09472, allocations: 71.73 kB / 446.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.09476, allocations: 4 kB / 446.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.09478, allocations: 4 kB / 446.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.09484, allocations: 39.83 kB / 446.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.09493, allocations: 77.38 kB / 446.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.09505, allocations: 84.06 kB / 446.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.09506, allocations: 0 / 446.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09507, allocations: 0 / 446.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.09508, allocations: 4 kB / 446.3 MB, free: 12.84 MB / 298.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.000677/0.09576, allocations: 446.9 kB / 446.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.09581, allocations: 11.97 kB / 446.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.09586, allocations: 16.84 kB / 446.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.09605, allocations: 224 kB / 446.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.09607, allocations: 4.375 kB / 446.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.0961, allocations: 8.375 kB / 447 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.09652, allocations: 264.7 kB / 447.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.09654, allocations: 0 / 447.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.09656, allocations: 4 kB / 447.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.09657, allocations: 4 kB / 447.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.09675, allocations: 83.88 kB / 447.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.09727, allocations: 361.4 kB / 447.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.09755, allocations: 189.2 kB / 447.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.09769, allocations: 89.67 kB / 447.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.09772, allocations: 7.984 kB / 447.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.0979, allocations: 111.3 kB / 448 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.09791, allocations: 0 / 448 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004902/0.0984, allocations: 297.3 kB / 448.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.09847, allocations: 93.22 kB / 448.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.09858, allocations: 154.2 kB / 448.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.0986, allocations: 29.7 kB / 448.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.09865, allocations: 104.1 kB / 448.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.09869, allocations: 35.55 kB / 448.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.0987, allocations: 4 kB / 448.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.09878, allocations: 338.8 kB / 449.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.09888, allocations: 44.44 kB / 449.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.099, allocations: 163.4 kB / 449.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.09928, allocations: 226.4 kB / 449.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.0993, allocations: 3.938 kB / 449.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003026/0.0996, allocations: 237.6 kB / 449.7 MB, free: 9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.09963, allocations: 8 kB / 449.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.09964, allocations: 8.031 kB / 449.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.09967, allocations: 4 kB / 449.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.09981, allocations: 39.91 kB / 449.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.09982, allocations: 7.938 kB / 449.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.09991, allocations: 15.91 kB / 449.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.09994, allocations: 16 kB / 449.8 MB, free: 8.902 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(flow=false 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1001, allocations: 152.2 kB / 450 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.1002, allocations: 101.5 kB / 450.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1002, allocations: 20.83 kB / 450.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1002, allocations: 0 / 450.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1003, allocations: 0 / 450.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1003, allocations: 7.938 kB / 450.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1007, allocations: 498.2 kB / 450.6 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1007, allocations: 4 kB / 450.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.1008, allocations: 23.92 kB / 450.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1008, allocations: 0 / 450.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1009, allocations: 8 kB / 450.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1009, allocations: 3.938 kB / 450.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1009, allocations: 0 / 450.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1012, allocations: 340.1 kB / 451 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.1013, allocations: 88.92 kB / 451.1 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1013, allocations: 11.98 kB / 451.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1014, allocations: 15.92 kB / 451.1 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1015, allocations: 15.97 kB / 451.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1015, allocations: 8 kB / 451.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.1016, allocations: 115.9 kB / 451.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 4 kB / 451.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000254/0.1018, allocations: 32 kB / 451.3 MB, free: 7.371 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.501e-05/0.1019, allocations: 111.1 kB / 451.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1022, allocations: 168.7 kB / 451.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1022, allocations: 8.062 kB / 451.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1023, allocations: 63.91 kB / 451.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1027, allocations: 44 kB / 451.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.1032, allocations: 384.5 kB / 452 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.1034, allocations: 0.7283 MB / 452.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.1035, allocations: 19.44 kB / 452.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1035, allocations: 0 / 452.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of Templates: time 0.002989/0.1065, allocations: 1.843 MB / 454.6 MB, free: 3.945 MB / 298.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)