Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.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.TestUnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 93.47 kB / 16.04 MB, free: 5.598 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.08298/0.08298, allocations: 12.63 MB / 29.41 MB, free: 5.77 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001823/0.0001824, allocations: 4 kB / 40.27 MB, free: 0.5078 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005527/0.005723, allocations: 2.838 MB / 43.11 MB, free: 5.945 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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: Automatically loaded package DymolaCommands 0.0.0 due to uses annotation. Notification: Automatically loaded package Modelica_LinearSystems2 3.0.0-dev due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay): time 1.959/1.965, allocations: 333.3 MB / 376.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007635/1.966, allocations: 0.5263 MB / 376.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/1.966, allocations: 3.938 kB / 376.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/1.966, allocations: 15.86 kB / 377 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/1.966, allocations: 11.88 kB / 377 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/1.966, allocations: 75.86 kB / 377 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/1.966, allocations: 123.6 kB / 377.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/1.966, allocations: 44.48 kB / 377.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.373e-05/1.966, allocations: 47.72 kB / 377.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/1.967, allocations: 51.69 kB / 377.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/1.967, allocations: 8 kB / 377.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/1.967, allocations: 4 kB / 377.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/1.967, allocations: 19.92 kB / 377.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/1.967, allocations: 81.31 kB / 377.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/1.967, allocations: 119.5 kB / 377.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.967, allocations: 0 / 377.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.967, allocations: 0 / 377.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/1.967, allocations: 0 / 377.5 MB, free: 3.367 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006709/1.968, allocations: 431.1 kB / 378 MB, free: 2.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.968, allocations: 16.03 kB / 378 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/1.968, allocations: 16.75 kB / 378 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.968, allocations: 232.2 kB / 378.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/1.968, allocations: 4.609 kB / 378.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/1.968, allocations: 12.38 kB / 378.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/1.968, allocations: 213.2 kB / 378.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.968, allocations: 7.984 kB / 378.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.968, allocations: 0 / 378.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.968, allocations: 4 kB / 378.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/1.969, allocations: 83.83 kB / 378.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/1.969, allocations: 0.7246 MB / 379.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/1.97, allocations: 157.2 kB / 379.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/1.97, allocations: 61.67 kB / 379.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/1.97, allocations: 11.98 kB / 379.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/1.97, allocations: 107.3 kB / 379.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/1.97, allocations: 0 / 379.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004891/1.971, allocations: 225.3 kB / 379.8 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.971, allocations: 85.05 kB / 379.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.971, allocations: 173.9 kB / 380.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.971, allocations: 29.7 kB / 380.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/1.971, allocations: 116.2 kB / 380.2 MB, free: 444 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.971, allocations: 23.62 kB / 380.2 MB, free: 420 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/1.971, allocations: 8 kB / 380.2 MB, free: 412 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/1.971, allocations: 330.8 kB / 380.6 MB, free: 72 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/1.971, allocations: 35.98 kB / 380.6 MB, free: 36 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.971, allocations: 104.6 kB / 380.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/1.971, allocations: 160.4 kB / 380.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.971, allocations: 0 / 380.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002761/1.972, allocations: 169.4 kB / 381 MB, free: 15.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.972, allocations: 8.188 kB / 381 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.972, allocations: 11.94 kB / 381 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/1.972, allocations: 7.984 kB / 381 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.972, allocations: 23.98 kB / 381.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.972, allocations: 7.938 kB / 381.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/1.972, allocations: 19.94 kB / 381.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.972, allocations: 11.88 kB / 381.1 MB, free: 15.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition2,$whenCondition1,sampleClock.sampleTrigger,$PRE.sampler.discretePart.ticks,sampler.discretePart.ticks,sampler.discretePart.sampleTrigger,$PRE.ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.sampleTrigger,$PRE.ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.y_sampled,sampler.discretePart.u_sampled,ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.cont,ls_unitDelay.cont,sampler.discretePart.cont,sampler.cont) * Number of discrete states: 0 () * Number of clocked states: 1 (UnitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001105/1.972, allocations: 140 kB / 381.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/1.972, allocations: 61.45 kB / 381.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/1.972, allocations: 25.33 kB / 381.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.972, allocations: 4 kB / 381.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.972, allocations: 4 kB / 381.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.972, allocations: 288 / 381.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/1.973, allocations: 486.2 kB / 381.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.973, allocations: 4 kB / 381.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/1.973, allocations: 11.98 kB / 381.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.973, allocations: 7.984 kB / 381.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.973, allocations: 0 / 381.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.973, allocations: 0 / 381.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.973, allocations: 7.984 kB / 381.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/1.974, allocations: 284.5 kB / 382.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/1.974, allocations: 85.02 kB / 382.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/1.974, allocations: 8 kB / 382.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.974, allocations: 11.98 kB / 382.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/1.974, allocations: 11.98 kB / 382.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.974, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.986e-05/1.974, allocations: 123.2 kB / 382.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.974, allocations: 0 / 382.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002387/1.974, allocations: 39.84 kB / 382.4 MB, free: 14.05 MB / 314.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: 11 (sampler.discretePart.sampleTrigger,ls_unitDelay.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,sampler.discretePart.u_sampled,sampler.discretePart.ticks,ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.y_sampled) * Number of discrete states: 3 (ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.u_sampled,sampler.discretePart.ticks) * Number of clocked states: 1 (UnitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001056/1.974, allocations: 107.2 kB / 382.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/1.975, allocations: 123.8 kB / 382.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.975, allocations: 0 / 382.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/1.975, allocations: 60.41 kB / 382.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/1.975, allocations: 63.81 kB / 382.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/1.976, allocations: 322.9 kB / 383.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.976, allocations: 0.7127 MB / 383.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.342e-05/1.976, allocations: 13.73 kB / 383.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/1.976, allocations: 19.44 kB / 383.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 3.1e-07/1.976, allocations: 3.938 kB / 383.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Templates: time 0.00427/1.98, allocations: 1.593 MB / 385.4 MB, free: 10.99 MB / 314.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay.pipe 2>&1)