Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001501, allocations: 179 kB / 8.407 MB, free: 0.668 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 82.7 kB / 262.2 MB, free: 1.68 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.1004/0.1004, allocations: 12.59 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.209e-05, allocations: 4 kB / 378.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 50.38 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.4592, allocations: 78.43 MB / 0.4958 GB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4595, allocations: 55.97 kB / 0.4959 GB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4704, allocations: 2.141 MB / 0.498 GB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4705, allocations: 0 / 0.498 GB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4705, allocations: 0 / 0.498 GB, free: 1.684 MB / 346.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.0009677/0.4715, allocations: 439.1 kB / 0.4984 GB, free: 1.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4716, allocations: 8.031 kB / 0.4984 GB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.4717, allocations: 15.89 kB / 0.4984 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.472, allocations: 201.3 kB / 0.4986 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.4721, allocations: 7.938 kB / 0.4986 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4721, allocations: 12 kB / 0.4986 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002806/0.4724, allocations: 71.91 kB / 0.4987 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.473, allocations: 224.7 kB / 0.4989 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.473, allocations: 0 / 0.4989 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.4731, allocations: 3.984 kB / 0.4989 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4731, allocations: 4 kB / 0.4989 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.4739, allocations: 322 kB / 0.4992 GB, free: 260 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.4744, allocations: 165.2 kB / 0.4994 GB, free: 76 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.4746, allocations: 73.7 kB / 0.4994 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.4747, allocations: 4 kB / 0.4994 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.4749, allocations: 103.5 kB / 0.4995 GB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 4.098e-06/0.475, allocations: 3.938 kB / 0.4995 GB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.000628/0.4756, allocations: 197.5 kB / 0.4997 GB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4757, allocations: 93 kB / 0.4998 GB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4759, allocations: 137.5 kB / 0.4999 GB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.476, allocations: 37.69 kB / 0.5 GB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4761, allocations: 166.5 kB / 0.5001 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.4762, allocations: 43.69 kB / 0.5002 GB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.4762, allocations: 0 / 0.5002 GB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4764, allocations: 318.8 kB / 0.5005 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4765, allocations: 32.47 kB / 0.5005 GB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4767, allocations: 152.4 kB / 0.5007 GB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4769, allocations: 59.86 kB / 0.5007 GB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4769, allocations: 0 / 0.5007 GB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000487/0.4774, allocations: 185.3 kB / 0.5009 GB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.4775, allocations: 8 kB / 0.5009 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4775, allocations: 4 kB / 0.5009 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4776, allocations: 4.531 kB / 0.5009 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.4778, allocations: 39.92 kB / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.4779, allocations: 11.92 kB / 0.501 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4781, allocations: 11.91 kB / 0.501 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.4781, allocations: 12 kB / 0.501 GB, free: 14.29 MB / 362.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.0002528/0.4784, allocations: 131 kB / 0.5011 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4786, allocations: 77.58 kB / 0.5012 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.4787, allocations: 24.72 kB / 0.5012 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4787, allocations: 8 kB / 0.5012 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4787, allocations: 0 / 0.5012 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4787, allocations: 0 / 0.5012 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/0.4796, allocations: 451 kB / 0.5016 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4796, allocations: 4 kB / 0.5016 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4799, allocations: 19.98 kB / 0.5017 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.4799, allocations: 4 kB / 0.5017 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4799, allocations: 3.984 kB / 0.5017 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4799, allocations: 4 kB / 0.5017 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.48, allocations: 7.938 kB / 0.5017 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.4806, allocations: 322.8 kB / 0.502 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.4807, allocations: 92.86 kB / 0.5021 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.4808, allocations: 7.984 kB / 0.5021 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.481, allocations: 19.98 kB / 0.5021 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.4811, allocations: 7.938 kB / 0.5021 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.4811, allocations: 7.984 kB / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4813, allocations: 111.3 kB / 0.5022 GB, free: 12.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4813, allocations: 3.938 kB / 0.5022 GB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004747/0.4818, allocations: 24 kB / 0.5023 GB, free: 12.88 MB / 362.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.0001861/0.482, allocations: 103.2 kB / 0.5024 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.4824, allocations: 138.2 kB / 0.5025 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4824, allocations: 0 / 0.5025 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4826, allocations: 47.92 kB / 0.5025 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.483, allocations: 47.34 kB / 0.5026 GB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.4839, allocations: 237 kB / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.4843, allocations: 0.728 MB / 0.5035 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.4844, allocations: 27.36 kB / 0.5035 GB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4845, allocations: 0 / 0.5035 GB, free: 11.51 MB / 362.7 MB Notification: Performance of Templates: time 0.005775/0.4902, allocations: 1.76 MB / 0.5053 GB, free: 9.75 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)