Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.Interpolator.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package DymolaCommands with version 0.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_LinearSystems2.Controller.Examples.Interpolator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.Interpolator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002668/0.002673, allocations: 356.6 kB / 15.94 MB, free: 6.207 MB / 13.93 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo:17:42-17:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0006382/0.0006383, allocations: 47.97 kB / 16.72 MB, free: 5.434 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.308/4.308, allocations: 446.5 MB / 464 MB, free: 15.23 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002648/0.002648, allocations: 184 kB / 0.5031 GB, free: 11.86 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo): time 0.7124/0.7124, allocations: 90.61 MB / 0.6415 GB, free: 113.4 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000828/0.0008283, allocations: 16.22 kB / 0.7111 GB, free: 42.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4728, allocations: 59.44 MB / 0.7691 GB, free: 88.44 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.6118, allocations: 87.87 MB / 0.855 GB, free: 22.05 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004289/0.6123, allocations: 94.75 kB / 0.855 GB, free: 21.97 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0-master/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.6414, allocations: 7.366 MB / 0.8622 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6415, allocations: 2.625 kB / 0.8622 GB, free: 14.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.6415, allocations: 9.109 kB / 0.8623 GB, free: 14.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001457/0.643, allocations: 0.5748 MB / 0.8628 GB, free: 14.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.643, allocations: 8.031 kB / 0.8628 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.6432, allocations: 35.56 kB / 0.8629 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.6437, allocations: 312.7 kB / 0.8632 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.6438, allocations: 20.42 kB / 0.8632 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.6438, allocations: 24.69 kB / 0.8632 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.6449, allocations: 407 kB / 0.8636 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6449, allocations: 3.938 kB / 0.8636 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.645, allocations: 11.98 kB / 0.8636 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.645, allocations: 4 kB / 0.8636 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.6457, allocations: 208.5 kB / 0.8638 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.6473, allocations: 1.355 MB / 0.8651 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6487, allocations: 461.8 kB / 0.8656 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.6493, allocations: 167.5 kB / 0.8657 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.6494, allocations: 4 kB / 0.8657 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007842/0.6502, allocations: 280.1 kB / 0.866 GB, free: 10.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.837e-06/0.6502, allocations: 0 / 0.866 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002211/0.6524, allocations: 0.6441 MB / 0.8666 GB, free: 9.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.6525, allocations: 118.8 kB / 0.8667 GB, free: 9.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.6528, allocations: 256.8 kB / 0.867 GB, free: 9.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.6529, allocations: 45.7 kB / 0.867 GB, free: 9.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.653, allocations: 152.7 kB / 0.8672 GB, free: 9.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.6531, allocations: 94.83 kB / 0.8673 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.6531, allocations: 15.06 kB / 0.8673 GB, free: 9.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.6532, allocations: 353.2 kB / 0.8676 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.6536, allocations: 133 kB / 0.8677 GB, free: 8.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.6541, allocations: 285.6 kB / 0.868 GB, free: 8.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.6545, allocations: 178.4 kB / 0.8682 GB, free: 8.297 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6545, allocations: 4 kB / 0.8682 GB, free: 8.293 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001042/0.6556, allocations: 488.1 kB / 0.8687 GB, free: 7.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6556, allocations: 4 kB / 0.8687 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6556, allocations: 5.594 kB / 0.8687 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.6557, allocations: 8 kB / 0.8687 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.6561, allocations: 79.83 kB / 0.8687 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.6561, allocations: 4 kB / 0.8687 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.6565, allocations: 50.98 kB / 0.8688 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.6565, allocations: 21.88 kB / 0.8688 GB, free: 7.648 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: interpolator3.discreteInterpolator.sampleIn:DISCRETE(fixed = true protected = true ) type: Boolean interpolator2.discreteInterpolator.sampleIn:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.ticks,$PRE.interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.ticks,$whenCondition5,$PRE.interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.sampleIn,$whenCondition3,$PRE.interpolator2.discreteInterpolator.sampleIn,interpolator2.discreteInterpolator.sampleIn,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,sampleClock.sampleTrigger,interpolator2.discreteInterpolator.outputSampleTrigger,$PRE.interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputSampleTrigger,$PRE.interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputTicks,$PRE.interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.sampleTrigger,$PRE.sampler.discretePart.ticks,sampler.discretePart.ticks,sampler.discretePart.sampleTrigger,$PRE.interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.y,$PRE.interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.pre_u,$PRE.interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.y,$PRE.interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteFIR.u_sampled,$PRE.interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[1],$PRE.interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[2],$PRE.interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[3],$PRE.interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,interpolator3.discreteInterpolator.inputOutputSampleFactor,interpolator2.discreteInterpolator.inputOutputSampleFactor,sampler.discretePart.cont,sampler.cont,interpolator3.discreteFIR.cont,interpolator3.discreteInterpolator.cont,interpolator3.cont,interpolator2.discreteInterpolator.cont,interpolator2.cont,interpolator1.cont) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0003143/0.6569, allocations: 212.9 kB / 0.869 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.6569, allocations: 27.62 kB / 0.869 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.657, allocations: 34.08 kB / 0.8691 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.657, allocations: 4 kB / 0.8691 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.657, allocations: 0 / 0.8691 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6571, allocations: 0 / 0.8691 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.6594, allocations: 1.027 MB / 0.8701 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6594, allocations: 0 / 0.8701 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.6595, allocations: 23.92 kB / 0.8701 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6595, allocations: 0 / 0.8701 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.6596, allocations: 11.98 kB / 0.8701 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6596, allocations: 3.953 kB / 0.8701 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6596, allocations: 5.953 kB / 0.8701 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.6611, allocations: 0.5841 MB / 0.8707 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6612, allocations: 112.7 kB / 0.8708 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.6613, allocations: 22.42 kB / 0.8708 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.6617, allocations: 31.41 kB / 0.8709 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6618, allocations: 31.86 kB / 0.8709 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.6619, allocations: 27.91 kB / 0.8709 GB, free: 5.426 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.6621, allocations: 176.5 kB / 0.8711 GB, free: 5.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6621, allocations: 0 / 0.8711 GB, free: 5.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.6627, allocations: 75.98 kB / 0.8712 GB, free: 5.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (interpolator2.discreteInterpolator.outputSampleTrigger,interpolator3.discreteInterpolator.outputSampleTrigger,interpolator3.discreteFIR.sampleTrigger,sampler.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteFIR.u_sampled,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,sampler.discretePart.ticks) * Number of discrete states: 14 (sampler.discretePart.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.u,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.u,interpolator3.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.u,interpolator2.discreteInterpolator.pre_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.0002322/0.6629, allocations: 153.3 kB / 0.8713 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.664, allocations: 399.5 kB / 0.8717 GB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6641, allocations: 0 / 0.8717 GB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.6647, allocations: 187.8 kB / 0.8719 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.6655, allocations: 86.69 kB / 0.8719 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.6669, allocations: 0.5789 MB / 0.8725 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.6672, allocations: 0.7726 MB / 0.8733 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.6674, allocations: 45.28 kB / 0.8733 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6675, allocations: 31.42 kB / 0.8733 GB, free: 2.934 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6675, allocations: 0 / 0.8733 GB, free: 2.934 MB / 426.7 MB Notification: Performance of Templates: time 0.0122/0.6797, allocations: 4.505 MB / 0.8777 GB, free: 14.78 MB / 442.7 MB