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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002561/0.002561, allocations: 190.7 kB / 7.846 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009988/0.0009993, allocations: 92.83 kB / 261.5 MB, free: 13.59 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.06811/0.06811, allocations: 12.58 MB / 322 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.161e-06, allocations: 4 kB / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08463, allocations: 50.37 MB / 428.8 MB, free: 25.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.252/0.3367, allocations: 78.36 MB / 0.4952 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.3371, allocations: 64.45 kB / 0.4953 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007102/0.3442, allocations: 1.823 MB / 0.4971 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3442, allocations: 3.844 kB / 0.4971 GB, free: 11.52 MB / 330.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.0005336/0.3448, allocations: 436.3 kB / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3448, allocations: 11.53 kB / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.3449, allocations: 19.53 kB / 0.4975 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3451, allocations: 203.2 kB / 0.4977 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3451, allocations: 5.078 kB / 0.4977 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3451, allocations: 9.172 kB / 0.4977 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/0.3453, allocations: 68.66 kB / 0.4978 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3457, allocations: 229.9 kB / 0.498 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3457, allocations: 0 / 0.498 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3457, allocations: 1.547 kB / 0.498 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3457, allocations: 3.938 kB / 0.498 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.3462, allocations: 322.2 kB / 0.4983 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3465, allocations: 168.6 kB / 0.4985 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3466, allocations: 78 kB / 0.4986 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3466, allocations: 5.344 kB / 0.4986 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.3467, allocations: 100.8 kB / 0.4987 GB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3467, allocations: 0 / 0.4987 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003066/0.3471, allocations: 178.3 kB / 0.4988 GB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.3471, allocations: 86.83 kB / 0.4989 GB, free: 10.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.3472, allocations: 139.7 kB / 0.499 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3472, allocations: 34.42 kB / 0.4991 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.3473, allocations: 94.22 kB / 0.4992 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3473, allocations: 33.98 kB / 0.4992 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.3473, allocations: 3.906 kB / 0.4992 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.3474, allocations: 329.9 kB / 0.4995 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.3475, allocations: 34.09 kB / 0.4996 GB, free: 9.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.3476, allocations: 146.3 kB / 0.4997 GB, free: 9.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3477, allocations: 60.02 kB / 0.4998 GB, free: 9.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3477, allocations: 4 kB / 0.4998 GB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002447/0.348, allocations: 194 kB / 0.4999 GB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.348, allocations: 7.875 kB / 0.4999 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.348, allocations: 7.844 kB / 0.5 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.348, allocations: 3.844 kB / 0.5 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3482, allocations: 39.61 kB / 0.5 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3482, allocations: 9.125 kB / 0.5 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.3483, allocations: 11.69 kB / 0.5 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3483, allocations: 17.03 kB / 0.5 GB, free: 9.52 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(fixed = false ) "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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.3484, allocations: 127.4 kB / 0.5002 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.3485, allocations: 84.09 kB / 0.5002 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.3486, allocations: 17.84 kB / 0.5003 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3486, allocations: 5.219 kB / 0.5003 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3486, allocations: 0 / 0.5003 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3486, allocations: 0 / 0.5003 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.349, allocations: 413.5 kB / 0.5007 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.349, allocations: 1.547 kB / 0.5007 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3491, allocations: 22.69 kB / 0.5007 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3491, allocations: 0 / 0.5007 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3491, allocations: 9.344 kB / 0.5007 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3492, allocations: 0 / 0.5007 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3492, allocations: 0 / 0.5007 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002477/0.3494, allocations: 297.4 kB / 0.501 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.3495, allocations: 96.73 kB / 0.5011 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3495, allocations: 7.031 kB / 0.5011 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3496, allocations: 14.89 kB / 0.5011 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3497, allocations: 10.45 kB / 0.5011 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3497, allocations: 5.766 kB / 0.5011 GB, free: 8.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.175e-05/0.3498, allocations: 109.3 kB / 0.5012 GB, free: 8.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.3501, allocations: 32.31 kB / 0.5012 GB, free: 8.715 MB / 330.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.3502, allocations: 108.9 kB / 0.5013 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3504, allocations: 145 kB / 0.5015 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3504, allocations: 3.938 kB / 0.5015 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.3505, allocations: 47.59 kB / 0.5015 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3508, allocations: 39.89 kB / 0.5016 GB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.3513, allocations: 214.8 kB / 0.5018 GB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.3515, allocations: 0.7542 MB / 0.5025 GB, free: 7.781 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3515, allocations: 0 / 0.5025 GB, free: 7.781 MB / 330.7 MB Notification: Performance of Templates: time 0.003802/0.3553, allocations: 1.367 MB / 0.5038 GB, free: 7.664 MB / 330.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)