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.001068/0.001068, allocations: 104.1 kB / 16.03 MB, free: 6.324 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.001057/0.001057, allocations: 190.9 kB / 16.95 MB, free: 6.145 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.863/1.863, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09458/0.09458, allocations: 12.59 MB / 282.7 MB, free: 8.789 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.001798/0.001798, allocations: 87.89 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1475, allocations: 49.39 MB / 392.4 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.003867/0.1514, allocations: 1.781 MB / 394.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1527, allocations: 0.5503 MB / 394.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1528, allocations: 7.938 kB / 394.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.153, allocations: 7.922 kB / 394.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.1531, allocations: 15.88 kB / 394.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.1538, allocations: 95.81 kB / 394.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.154, allocations: 127.6 kB / 394.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1542, allocations: 28.88 kB / 395 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1544, allocations: 63.75 kB / 395 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1546, allocations: 79.67 kB / 395.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1546, allocations: 12 kB / 395.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.1546, allocations: 12 kB / 395.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.1547, allocations: 43.83 kB / 395.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1548, allocations: 59.66 kB / 395.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1551, allocations: 127.8 kB / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1551, allocations: 0 / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1551, allocations: 0 / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1551, allocations: 0 / 395.4 MB, free: 0.5898 MB / 286.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.001098/0.1562, allocations: 458.9 kB / 395.8 MB, free: 96 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.1563, allocations: 12.03 kB / 395.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.1563, allocations: 16.75 kB / 395.8 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1567, allocations: 219.9 kB / 396.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1568, allocations: 8.375 kB / 396.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.1568, allocations: 12.38 kB / 396.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.1575, allocations: 260.7 kB / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1575, allocations: 0 / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1575, allocations: 0 / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1575, allocations: 4 kB / 396.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1577, allocations: 75.94 kB / 396.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.1586, allocations: 365.4 kB / 396.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1589, allocations: 189.2 kB / 396.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1591, allocations: 85.67 kB / 397 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1591, allocations: 4 kB / 397 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.1594, allocations: 103.3 kB / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1594, allocations: 0 / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006664/0.1601, allocations: 285.5 kB / 397.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.1602, allocations: 101 kB / 397.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1603, allocations: 154.2 kB / 397.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1604, allocations: 33.7 kB / 397.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.1605, allocations: 100.1 kB / 397.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1605, allocations: 39.55 kB / 397.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.1606, allocations: 45.88 kB / 397.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1608, allocations: 334.8 kB / 398.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1609, allocations: 44.44 kB / 398.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.1611, allocations: 159.5 kB / 398.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.1614, allocations: 226.3 kB / 398.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1614, allocations: 4 kB / 398.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003497/0.1618, allocations: 233 kB / 398.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1618, allocations: 8 kB / 398.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1618, allocations: 4 kB / 398.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1618, allocations: 4 kB / 398.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.162, allocations: 39.91 kB / 398.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.162, allocations: 8.531 kB / 398.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.1621, allocations: 15.91 kB / 398.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1622, allocations: 12 kB / 398.9 MB, free: 12.64 MB / 302.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.0002029/0.1624, allocations: 151.9 kB / 399.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1625, allocations: 97.73 kB / 399.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1626, allocations: 20.83 kB / 399.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1626, allocations: 0 / 399.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1626, allocations: 4 kB / 399.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1626, allocations: 0 / 399.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.1633, allocations: 0.4948 MB / 399.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1634, allocations: 3.938 kB / 399.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.1634, allocations: 15.98 kB / 399.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1635, allocations: 0 / 399.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1635, allocations: 4 kB / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1635, allocations: 3.938 kB / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1635, allocations: 80 / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.1639, allocations: 340.2 kB / 400.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.1641, allocations: 92.91 kB / 400.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.1641, allocations: 15.98 kB / 400.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1643, allocations: 15.92 kB / 400.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1643, allocations: 7.984 kB / 400.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.1643, allocations: 8 kB / 400.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1644, allocations: 123.9 kB / 400.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1644, allocations: 0 / 400.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1647, allocations: 28 kB / 400.4 MB, free: 11.12 MB / 302.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.000186/0.1649, allocations: 107.2 kB / 400.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.1653, allocations: 180.8 kB / 400.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1654, allocations: 4.125 kB / 400.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1655, allocations: 63.89 kB / 400.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.1659, allocations: 55.83 kB / 400.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.1667, allocations: 348.9 kB / 401.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.1672, allocations: 0.7279 MB / 401.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.1673, allocations: 21.42 kB / 401.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1673, allocations: 15.44 kB / 401.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1673, allocations: 0 / 401.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Templates: time 0.00529/0.1726, allocations: 1.377 MB / 403.2 MB, free: 8.168 MB / 302.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)