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.007745/0.007746, allocations: 91.62 kB / 15.91 MB, free: 6.277 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.001602/0.001603, allocations: 196.4 kB / 16.83 MB, free: 6.195 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.732/1.732, allocations: 205.1 MB / 222.7 MB, free: 4.711 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.07169/0.07169, allocations: 12.6 MB / 282.6 MB, free: 8.84 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.001739/0.001739, allocations: 75.89 kB / 342.8 MB, free: 21.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 49.4 MB / 392.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.004419/0.1485, allocations: 1.777 MB / 394 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1497, allocations: 0.5503 MB / 394.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1498, allocations: 4 kB / 394.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.15, allocations: 11.92 kB / 394.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.1501, allocations: 19.84 kB / 394.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1507, allocations: 87.78 kB / 394.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1509, allocations: 127.6 kB / 394.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.151, allocations: 24.91 kB / 394.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1512, allocations: 63.75 kB / 394.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1514, allocations: 67.73 kB / 394.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.1514, allocations: 8 kB / 394.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.1515, allocations: 4 kB / 394.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.1515, allocations: 43.83 kB / 395 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1517, allocations: 55.66 kB / 395 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1518, allocations: 119.8 kB / 395.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1519, allocations: 0 / 395.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1519, allocations: 0 / 395.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1519, allocations: 0 / 395.1 MB, free: 0.7227 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.001152/0.153, allocations: 462.9 kB / 395.6 MB, free: 228 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.1531, allocations: 12.03 kB / 395.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.1532, allocations: 20.73 kB / 395.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1535, allocations: 212.2 kB / 395.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1535, allocations: 8.375 kB / 395.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1536, allocations: 16.36 kB / 395.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/0.1542, allocations: 252.7 kB / 396.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1542, allocations: 0 / 396.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.1543, allocations: 4 kB / 396.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.1543, allocations: 8 kB / 396.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.1545, allocations: 83.86 kB / 396.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.1552, allocations: 357.4 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1555, allocations: 189.2 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1557, allocations: 81.67 kB / 396.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1557, allocations: 8 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1559, allocations: 103.3 kB / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.1559, allocations: 0 / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006632/0.1566, allocations: 289.5 kB / 397.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1567, allocations: 93.02 kB / 397.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.157, allocations: 158.2 kB / 397.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1571, allocations: 29.7 kB / 397.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1572, allocations: 100.1 kB / 397.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.1572, allocations: 47.48 kB / 397.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.1573, allocations: 45.94 kB / 397.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1575, allocations: 326.8 kB / 398 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1576, allocations: 44.44 kB / 398 MB, free: 13.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1578, allocations: 163.4 kB / 398.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.1583, allocations: 226.4 kB / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1583, allocations: 0 / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004358/0.1587, allocations: 233.1 kB / 398.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.1588, allocations: 8 kB / 398.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.1588, allocations: 8.516 kB / 398.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.1588, allocations: 4 kB / 398.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.159, allocations: 35.92 kB / 398.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.159, allocations: 11.94 kB / 398.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.1591, allocations: 15.91 kB / 398.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.1591, allocations: 8 kB / 398.7 MB, free: 12.77 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.000251/0.1594, allocations: 155.9 kB / 398.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1595, allocations: 93.78 kB / 399 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.1596, allocations: 20.83 kB / 399 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1596, allocations: 11.98 kB / 399 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1596, allocations: 4 kB / 399 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1596, allocations: 0 / 399 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.1605, allocations: 498.7 kB / 399.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1605, allocations: 0 / 399.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1606, allocations: 15.98 kB / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1606, allocations: 0 / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.1607, allocations: 8 kB / 399.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.1607, allocations: 15.81 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1607, allocations: 4 kB / 399.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.1612, allocations: 328 kB / 399.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.1613, allocations: 96.91 kB / 399.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1613, allocations: 4 kB / 399.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1615, allocations: 15.92 kB / 400 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1615, allocations: 11.98 kB / 400 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.1616, allocations: 19.92 kB / 400 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1617, allocations: 112.1 kB / 400.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 400.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.162, allocations: 28 kB / 400.1 MB, free: 11.25 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.0002398/0.1623, allocations: 111.1 kB / 400.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.1627, allocations: 168 kB / 400.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1627, allocations: 0 / 400.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1628, allocations: 60.11 kB / 400.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1633, allocations: 55.88 kB / 400.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.1643, allocations: 347.4 kB / 400.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.1648, allocations: 0.7244 MB / 401.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.1649, allocations: 13.42 kB / 401.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.165, allocations: 19.44 kB / 401.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.165, allocations: 0 / 401.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of Templates: time 0.005672/0.1707, allocations: 1.307 MB / 402.9 MB, free: 8.395 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)