Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007394/0.0007395, allocations: 93.61 kB / 16.04 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08389/0.08389, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002024/0.0002026, allocations: 4 kB / 40.28 MB, free: 0.6211 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006264/0.006485, allocations: 2.823 MB / 43.1 MB, free: 6.07 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 1.603/1.609, allocations: 277.7 MB / 320.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/1.61, allocations: 496.5 kB / 321.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/1.61, allocations: 3.938 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/1.611, allocations: 11.92 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/1.611, allocations: 19.45 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/1.611, allocations: 87.84 kB / 321.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/1.611, allocations: 131.5 kB / 321.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/1.611, allocations: 52.02 kB / 321.6 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/1.612, allocations: 55.75 kB / 321.6 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/1.612, allocations: 71.67 kB / 321.7 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/1.612, allocations: 7.75 kB / 321.7 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/1.612, allocations: 4 kB / 321.7 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/1.612, allocations: 35.89 kB / 321.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/1.612, allocations: 81.36 kB / 321.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/1.612, allocations: 115.5 kB / 321.9 MB, free: 9.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.612, allocations: 0 / 321.9 MB, free: 9.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/1.612, allocations: 0 / 321.9 MB, free: 9.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/1.612, allocations: 0 / 321.9 MB, free: 9.387 MB / 250.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.0007732/1.613, allocations: 457.1 kB / 322.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.613, allocations: 8.875 kB / 322.4 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/1.613, allocations: 16.75 kB / 322.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/1.613, allocations: 212.6 kB / 322.6 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.613, allocations: 9.062 kB / 322.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/1.613, allocations: 12.38 kB / 322.6 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/1.614, allocations: 251.7 kB / 322.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.614, allocations: 0 / 322.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.614, allocations: 0 / 322.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.614, allocations: 6.031 kB / 322.9 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/1.614, allocations: 75.95 kB / 323 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/1.615, allocations: 364.7 kB / 323.3 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/1.615, allocations: 183.3 kB / 323.5 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/1.615, allocations: 89.67 kB / 323.6 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/1.615, allocations: 1.344 kB / 323.6 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/1.615, allocations: 113.4 kB / 323.7 MB, free: 7.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/1.615, allocations: 3.938 kB / 323.7 MB, free: 7.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005794/1.616, allocations: 294.7 kB / 324 MB, free: 7.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/1.616, allocations: 93.92 kB / 324.1 MB, free: 7.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/1.616, allocations: 155.7 kB / 324.2 MB, free: 6.887 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/1.616, allocations: 33.7 kB / 324.3 MB, free: 6.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/1.616, allocations: 108 kB / 324.4 MB, free: 6.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/1.616, allocations: 45.09 kB / 324.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.616, allocations: 4 kB / 324.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.616, allocations: 326.8 kB / 324.7 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/1.617, allocations: 49.66 kB / 324.8 MB, free: 6.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.617, allocations: 156.8 kB / 324.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/1.617, allocations: 232.4 kB / 325.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.617, allocations: 0 / 325.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003663/1.617, allocations: 237.1 kB / 325.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.617, allocations: 4 kB / 325.4 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.617, allocations: 7.984 kB / 325.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.617, allocations: 8 kB / 325.4 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/1.618, allocations: 32.45 kB / 325.5 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.618, allocations: 19.92 kB / 325.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/1.618, allocations: 19.84 kB / 325.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/1.618, allocations: 8 kB / 325.5 MB, free: 5.504 MB / 250.7 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 ($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 () * 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.0001859/1.618, allocations: 155.9 kB / 325.7 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.618, allocations: 97.42 kB / 325.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/1.618, allocations: 16.84 kB / 325.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.618, allocations: 3.984 kB / 325.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.618, allocations: 8 kB / 325.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.618, allocations: 0 / 325.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/1.619, allocations: 0.4909 MB / 326.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.619, allocations: 0 / 326.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/1.619, allocations: 16 kB / 326.3 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.619, allocations: 3.984 kB / 326.3 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.619, allocations: 8 kB / 326.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/1.619, allocations: 7.938 kB / 326.3 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.619, allocations: 3.938 kB / 326.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/1.619, allocations: 341.7 kB / 326.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.619, allocations: 92.86 kB / 326.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/1.62, allocations: 7.984 kB / 326.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/1.62, allocations: 23.92 kB / 326.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/1.62, allocations: 11.98 kB / 326.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/1.62, allocations: 12 kB / 326.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/1.62, allocations: 117.5 kB / 326.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.62, allocations: 0 / 326.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002605/1.62, allocations: 28 kB / 326.9 MB, free: 3.969 MB / 250.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]) * 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.0001158/1.62, allocations: 111.2 kB / 327 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/1.621, allocations: 167.7 kB / 327.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.621, allocations: 0 / 327.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/1.621, allocations: 64.97 kB / 327.3 MB, free: 3.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/1.621, allocations: 57.3 kB / 327.3 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/1.622, allocations: 350.9 kB / 327.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.622, allocations: 0.7166 MB / 328.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.812e-05/1.622, allocations: 13.42 kB / 328.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/1.622, allocations: 23.42 kB / 328.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/1.622, allocations: 0 / 328.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of Templates: time 0.003585/1.626, allocations: 1.285 MB / 329.7 MB, free: 1.141 MB / 250.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)