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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 106.2 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 189.8 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1197/0.1197, allocations: 12.59 MB / 283.1 MB, free: 15.49 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003286/0.003287, allocations: 88.53 kB / 343.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4105, allocations: 49.38 MB / 392.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.004159/0.4147, allocations: 1.717 MB / 394.6 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.416, allocations: 0.5596 MB / 395.1 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.4162, allocations: 6.125 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.4163, allocations: 13.67 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.4164, allocations: 25.92 kB / 395.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.4171, allocations: 96.94 kB / 395.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.4174, allocations: 131.6 kB / 395.4 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4175, allocations: 29.16 kB / 395.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4177, allocations: 67.73 kB / 395.5 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.4179, allocations: 68.41 kB / 395.6 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.418, allocations: 9.562 kB / 395.6 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.418, allocations: 9.344 kB / 395.6 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4181, allocations: 48.78 kB / 395.6 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.4182, allocations: 62.06 kB / 395.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.4185, allocations: 119.7 kB / 395.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4185, allocations: 0 / 395.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4185, allocations: 0 / 395.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4185, allocations: 0 / 395.8 MB, free: 47.3 MB / 318.1 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.001002/0.4195, allocations: 475.7 kB / 396.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4196, allocations: 7.406 kB / 396.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.4196, allocations: 16.95 kB / 396.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.4199, allocations: 213.3 kB / 396.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.42, allocations: 4.016 kB / 396.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.42, allocations: 12.23 kB / 396.5 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.4206, allocations: 260.2 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4206, allocations: 0 / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.4206, allocations: 5.094 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4206, allocations: 3.188 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4209, allocations: 77.72 kB / 396.9 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.4215, allocations: 359.9 kB / 397.2 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.4219, allocations: 187.6 kB / 397.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.422, allocations: 91.23 kB / 397.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.4221, allocations: 2.75 kB / 397.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.4223, allocations: 105.7 kB / 397.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.4223, allocations: 0 / 397.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007159/0.4231, allocations: 295.5 kB / 397.9 MB, free: 45.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.4232, allocations: 96.27 kB / 398 MB, free: 45.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4233, allocations: 154.4 kB / 398.1 MB, free: 45.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.4234, allocations: 33.14 kB / 398.2 MB, free: 45.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.4234, allocations: 100.7 kB / 398.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.4235, allocations: 37.48 kB / 398.3 MB, free: 45.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.4236, allocations: 45.94 kB / 398.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.4237, allocations: 331.5 kB / 398.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4238, allocations: 45.16 kB / 398.7 MB, free: 44.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.424, allocations: 155.9 kB / 398.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.4243, allocations: 227.9 kB / 399.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4243, allocations: 1.125 kB / 399.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004223/0.4248, allocations: 234.8 kB / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4248, allocations: 11.52 kB / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4248, allocations: 3.812 kB / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.4249, allocations: 5.938 kB / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.425, allocations: 33.02 kB / 399.4 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.4251, allocations: 9.562 kB / 399.4 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.4252, allocations: 18.31 kB / 399.4 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4252, allocations: 22.66 kB / 399.4 MB, free: 44.36 MB / 318.1 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 (transferFunction2.firstTrigger,$PRE.transferFunction2.firstTrigger,transferFunction2.x1,$PRE.transferFunction2.x1,transferFunction2.xext[1],$PRE.transferFunction2.xext[1],transferFunction2.xext[2],$PRE.transferFunction2.xext[2],transferFunction2.x[1],$PRE.transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,sampler.firstTrigger,$PRE.sampler.firstTrigger,sampler.sampleTrigger,$whenCondition1,transferFunction2.sampleTrigger,$whenCondition2,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.0001963/0.4254, allocations: 161.3 kB / 399.6 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.4256, allocations: 87.86 kB / 399.7 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.4256, allocations: 20.67 kB / 399.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4256, allocations: 2.75 kB / 399.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4256, allocations: 0 / 399.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4256, allocations: 1.094 kB / 399.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.4263, allocations: 0.4921 MB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4263, allocations: 0 / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4264, allocations: 18.08 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4264, allocations: 1.188 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4264, allocations: 6.094 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4264, allocations: 5 kB / 400.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4264, allocations: 1.094 kB / 400.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.4269, allocations: 344.6 kB / 400.5 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.427, allocations: 93.08 kB / 400.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.4271, allocations: 7.406 kB / 400.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4272, allocations: 14.8 kB / 400.7 MB, free: 43.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.4273, allocations: 12.27 kB / 400.7 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.4273, allocations: 13.11 kB / 400.7 MB, free: 43.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.4274, allocations: 116.7 kB / 400.8 MB, free: 43.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4274, allocations: 4 kB / 400.8 MB, free: 43.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.4277, allocations: 32.97 kB / 400.8 MB, free: 43.23 MB / 318.1 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 0.0001485/0.4279, allocations: 104.7 kB / 400.9 MB, free: 43.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4283, allocations: 177.2 kB / 401.1 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4283, allocations: 256 / 401.1 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4285, allocations: 61.25 kB / 401.2 MB, free: 43.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4289, allocations: 49.61 kB / 401.2 MB, free: 43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.4297, allocations: 307.1 kB / 401.5 MB, free: 42.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.43, allocations: 0.7243 MB / 402.2 MB, free: 42.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.43, allocations: 18.95 kB / 402.3 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4301, allocations: 22.94 kB / 402.3 MB, free: 42.04 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4301, allocations: 0 / 402.3 MB, free: 42.04 MB / 318.1 MB Notification: Performance of Templates: time 0.005047/0.4351, allocations: 1.402 MB / 403.7 MB, free: 41.35 MB / 318.1 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)