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.0007919/0.0007916, allocations: 102.3 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000807/0.0008071, allocations: 182.4 kB / 16.97 MB, free: 6.875 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.212/1.212, allocations: 205.4 MB / 223.2 MB, free: 5.512 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.06265/0.06265, allocations: 12.6 MB / 284 MB, free: 8.586 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.0006507/0.0006507, allocations: 20 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.07432, allocations: 50.4 MB / 395.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.001741/0.0761, allocations: 1.423 MB / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.07696, allocations: 0.5387 MB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.07706, allocations: 7.938 kB / 397.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.178e-05/0.07717, allocations: 11.92 kB / 397.5 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.07725, allocations: 15.86 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.07767, allocations: 83.84 kB / 397.6 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.07782, allocations: 127.6 kB / 397.8 MB, free: 204 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.07793, allocations: 24.89 kB / 397.8 MB, free: 180 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.07804, allocations: 63.69 kB / 397.8 MB, free: 116 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.07817, allocations: 67.73 kB / 397.9 MB, free: 48 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.0782, allocations: 4 kB / 397.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.07823, allocations: 8 kB / 397.9 MB, free: 36 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.07831, allocations: 39.89 kB / 398 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.07839, allocations: 77.31 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.07852, allocations: 119.8 kB / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.07853, allocations: 0 / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07854, allocations: 0 / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.07855, allocations: 0 / 398.2 MB, free: 15.8 MB / 302.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.0006507/0.0792, allocations: 446.9 kB / 398.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.07924, allocations: 8.031 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.07929, allocations: 12.84 kB / 398.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.07948, allocations: 220 kB / 398.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.07951, allocations: 12.38 kB / 398.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.07954, allocations: 12.31 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.07996, allocations: 256.8 kB / 399.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.07998, allocations: 4 kB / 399.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.08, allocations: 0 / 399.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.08001, allocations: 4 kB / 399.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.08019, allocations: 83.92 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.08067, allocations: 365.4 kB / 399.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.08098, allocations: 181.2 kB / 399.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.08113, allocations: 85.67 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.08117, allocations: 19.91 kB / 399.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.08134, allocations: 99.36 kB / 399.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.604e-06/0.08135, allocations: 0 / 399.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005218/0.08188, allocations: 297.3 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.08196, allocations: 97.16 kB / 400.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.08207, allocations: 154.2 kB / 400.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.0821, allocations: 33.7 kB / 400.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.08215, allocations: 100.1 kB / 400.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.0822, allocations: 39.53 kB / 400.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.08224, allocations: 25.7 kB / 400.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.08235, allocations: 330.8 kB / 401 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.08246, allocations: 52.44 kB / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.08261, allocations: 159.5 kB / 401.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.08291, allocations: 234.3 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.08292, allocations: 0 / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003447/0.08327, allocations: 233.1 kB / 401.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.0833, allocations: 8 kB / 401.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.08331, allocations: 8.469 kB / 401.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.08333, allocations: 8 kB / 401.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.08345, allocations: 39.92 kB / 401.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.08347, allocations: 7.984 kB / 401.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.08356, allocations: 15.91 kB / 401.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.08358, allocations: 11.98 kB / 401.7 MB, free: 11.85 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.0001528/0.08374, allocations: 155.9 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.08386, allocations: 93.42 kB / 402 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.08391, allocations: 24.83 kB / 402 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.08392, allocations: 4 kB / 402 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.08393, allocations: 0 / 402 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.08394, allocations: 0 / 402 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.08447, allocations: 0.4982 MB / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.08448, allocations: 0 / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.08457, allocations: 16 kB / 402.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.08459, allocations: 7.984 kB / 402.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.08461, allocations: 8 kB / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.08462, allocations: 3.938 kB / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.08462, allocations: 0 / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.08501, allocations: 336.7 kB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.08506, allocations: 92.92 kB / 403 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.0851, allocations: 11.98 kB / 403 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.08523, allocations: 19.92 kB / 403 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.08527, allocations: 7.984 kB / 403 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.0853, allocations: 8 kB / 403 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.08538, allocations: 123.9 kB / 403.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.08539, allocations: 0 / 403.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.08567, allocations: 28 kB / 403.2 MB, free: 10.32 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.0001138/0.08579, allocations: 123.1 kB / 403.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.0861, allocations: 156.7 kB / 403.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.08611, allocations: 0 / 403.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.08623, allocations: 68.03 kB / 403.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.0866, allocations: 51.94 kB / 403.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.0872, allocations: 359 kB / 403.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.08754, allocations: 0.7244 MB / 404.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.08759, allocations: 13.44 kB / 404.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.08764, allocations: 19.42 kB / 404.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.08764, allocations: 0 / 404.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of Templates: time 0.003795/0.09144, allocations: 1.284 MB / 405.9 MB, free: 7.473 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: