Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.Interpolator.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo) Running command: "" <> buildModelFMU(Modelica_LinearSystems2.Controller.Examples.Interpolator,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_Interpolator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.002172/0.002172, allocations: 90.36 kB / 12.65 MB, free: 2.668 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.002435/0.002435, allocations: 180.4 kB / 13.34 MB, free: 1.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo): time 2.275/2.275, allocations: 225.3 MB / 239.2 MB, free: 11.06 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3567/0.3567, allocations: 45.87 MB / 336 MB, free: 14.68 MB / 282.7 MB Notification: Skipped loading package DymolaCommands (1.8,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 7.938 kB / 402.8 MB, free: 27.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 59.47 MB / 462.2 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5275/0.6528, allocations: 87.76 MB / 0.5371 GB, free: 3.672 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/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.0003996/0.6533, allocations: 85.48 kB / 0.5372 GB, free: 3.625 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/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.03078/0.6841, allocations: 7.343 MB / 0.5443 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6841, allocations: 0 / 0.5443 GB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.6842, allocations: 12 kB / 0.5444 GB, free: 13.9 MB / 394.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.001551/0.6858, allocations: 0.5401 MB / 0.5449 GB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6858, allocations: 12.03 kB / 0.5449 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.686, allocations: 59.66 kB / 0.545 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.6861, allocations: 31.62 kB / 0.545 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.6868, allocations: 314.2 kB / 0.5453 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.6869, allocations: 19.62 kB / 0.5453 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.687, allocations: 31.42 kB / 0.5453 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.6879, allocations: 363.6 kB / 0.5457 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6879, allocations: 3.984 kB / 0.5457 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.688, allocations: 14.25 kB / 0.5457 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.688, allocations: 8 kB / 0.5457 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.6885, allocations: 164.7 kB / 0.5459 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.6907, allocations: 1.362 MB / 0.5472 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.6917, allocations: 372.8 kB / 0.5475 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.6921, allocations: 132.5 kB / 0.5477 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.6921, allocations: 7.984 kB / 0.5477 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.6928, allocations: 256 kB / 0.5479 GB, free: 10.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 3.948e-06/0.6928, allocations: 0 / 0.5479 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.001296/0.6941, allocations: 441.8 kB / 0.5483 GB, free: 10.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6942, allocations: 114.3 kB / 0.5485 GB, free: 10.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.6946, allocations: 230.4 kB / 0.5487 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.43e-05/0.6947, allocations: 48.19 kB / 0.5487 GB, free: 9.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6949, allocations: 148.8 kB / 0.5489 GB, free: 9.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.6951, allocations: 88.38 kB / 0.5489 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6951, allocations: 7.375 kB / 0.549 GB, free: 9.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6953, allocations: 352.1 kB / 0.5493 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.6957, allocations: 130.7 kB / 0.5494 GB, free: 9.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.6962, allocations: 281.1 kB / 0.5497 GB, free: 9.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.6967, allocations: 165 kB / 0.5498 GB, free: 8.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6967, allocations: 3.938 kB / 0.5498 GB, free: 8.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001152/0.6978, allocations: 471.3 kB / 0.5503 GB, free: 8.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.6979, allocations: 12.36 kB / 0.5503 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6979, allocations: 8 kB / 0.5503 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.6979, allocations: 4 kB / 0.5503 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.6985, allocations: 75.78 kB / 0.5504 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.6986, allocations: 11.94 kB / 0.5504 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.699, allocations: 35.36 kB / 0.5504 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.699, allocations: 19.69 kB / 0.5505 GB, free: 8.418 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: interpolator3.discreteInterpolator.sampleIn:DISCRETE(fixed = false protected = true ) type: Boolean interpolator2.discreteInterpolator.sampleIn:DISCRETE(fixed = false 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 () * 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.0003662/0.6994, allocations: 191.7 kB / 0.5506 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6995, allocations: 31.7 kB / 0.5507 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.6996, allocations: 25.16 kB / 0.5507 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.6996, allocations: 4 kB / 0.5507 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6996, allocations: 4 kB / 0.5507 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6997, allocations: 3.984 kB / 0.5507 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.702, allocations: 0.9577 MB / 0.5516 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.702, allocations: 4 kB / 0.5516 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.7021, allocations: 11.94 kB / 0.5517 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.7022, allocations: 7.984 kB / 0.5517 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.7022, allocations: 11.67 kB / 0.5517 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7022, allocations: 0 / 0.5517 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7023, allocations: 3.953 kB / 0.5517 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7035, allocations: 0.5253 MB / 0.5522 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.7037, allocations: 104.8 kB / 0.5523 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.7038, allocations: 24.8 kB / 0.5523 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.7043, allocations: 27.66 kB / 0.5523 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7044, allocations: 35.42 kB / 0.5524 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.7045, allocations: 19.66 kB / 0.5524 GB, free: 6.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.7048, allocations: 176.6 kB / 0.5526 GB, free: 6.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7048, allocations: 0 / 0.5526 GB, free: 6.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.7054, allocations: 78.59 kB / 0.5526 GB, free: 6.48 MB / 394.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) * 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.001683/0.7071, allocations: 1.116 MB / 0.5537 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009955/0.7081, allocations: 351.6 kB / 0.5541 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7082, allocations: 4.125 kB / 0.5541 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.7086, allocations: 153.9 kB / 0.5542 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.7094, allocations: 91.23 kB / 0.5543 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.711, allocations: 460.9 kB / 0.5547 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.7115, allocations: 0.7733 MB / 0.5555 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.7117, allocations: 39.27 kB / 0.5555 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.7119, allocations: 90.72 kB / 0.5556 GB, free: 3.746 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7119, allocations: 0 / 0.5556 GB, free: 3.746 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.7506, allocations: 7.079 MB / 0.5625 GB, free: 12.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/0.751, allocations: 165.2 kB / 0.5627 GB, free: 12.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.115, allocations: 4 kB / 0.5627 GB, free: 12.57 MB / 410.7 MB