Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.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.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008682/0.0008682, allocations: 96.88 kB / 16.04 MB, free: 5.613 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.08792/0.08792, allocations: 12.62 MB / 29.41 MB, free: 6.074 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001944/0.0001946, allocations: 4 kB / 40.28 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005598/0.005812, allocations: 2.835 MB / 43.11 MB, free: 6.047 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.Examples.Elementary.RealSignals.FractionalDelay): time 1.682/1.688, allocations: 277.6 MB / 320.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008986/1.689, allocations: 0.5067 MB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/1.689, allocations: 3.938 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/1.689, allocations: 15.92 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/1.689, allocations: 8.422 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/1.69, allocations: 52.42 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.69, allocations: 61.94 kB / 321.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/1.69, allocations: 31.95 kB / 321.4 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/1.69, allocations: 35.73 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/1.69, allocations: 30.91 kB / 321.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/1.69, allocations: 0 / 321.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/1.69, allocations: 4 kB / 321.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/1.69, allocations: 19.92 kB / 321.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/1.69, allocations: 45.52 kB / 321.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/1.691, allocations: 70.66 kB / 321.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.691, allocations: 0 / 321.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/1.691, allocations: 0 / 321.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/1.691, allocations: 4 kB / 321.6 MB, free: 9.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004459/1.691, allocations: 370.9 kB / 321.9 MB, free: 9.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.691, allocations: 8.031 kB / 322 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.691, allocations: 8.844 kB / 322 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/1.691, allocations: 202 kB / 322.2 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.691, allocations: 12.3 kB / 322.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/1.691, allocations: 16.11 kB / 322.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/1.692, allocations: 142.3 kB / 322.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.692, allocations: 3.938 kB / 322.3 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.692, allocations: 4 kB / 322.3 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.692, allocations: 4 kB / 322.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/1.692, allocations: 36.53 kB / 322.4 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/1.692, allocations: 285.3 kB / 322.7 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/1.692, allocations: 84.97 kB / 322.7 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/1.692, allocations: 48.91 kB / 322.8 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/1.693, allocations: 4 kB / 322.8 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.693, allocations: 32 kB / 322.8 MB, free: 8.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.693, allocations: 0 / 322.8 MB, free: 8.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003041/1.693, allocations: 123.5 kB / 322.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/1.693, allocations: 111.5 kB / 323 MB, free: 8.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.693, allocations: 145.9 kB / 323.2 MB, free: 7.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.693, allocations: 25.7 kB / 323.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/1.693, allocations: 97.91 kB / 323.3 MB, free: 7.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/1.693, allocations: 7.906 kB / 323.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/1.693, allocations: 4 kB / 323.3 MB, free: 7.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/1.693, allocations: 326.7 kB / 323.6 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/1.693, allocations: 21.8 kB / 323.7 MB, free: 7.449 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/1.693, allocations: 60.53 kB / 323.7 MB, free: 7.371 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/1.694, allocations: 85.47 kB / 323.8 MB, free: 7.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.694, allocations: 4 kB / 323.8 MB, free: 7.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001855/1.694, allocations: 105.5 kB / 323.9 MB, free: 7.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.694, allocations: 4 kB / 323.9 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.694, allocations: 4 kB / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.694, allocations: 0 / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/1.694, allocations: 25.23 kB / 323.9 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/1.694, allocations: 4 kB / 323.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/1.694, allocations: 11.84 kB / 324 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.694, allocations: 6.094 kB / 324 MB, free: 7.109 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001364/1.694, allocations: 125.8 kB / 324.1 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.694, allocations: 73.53 kB / 324.2 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/1.694, allocations: 12.31 kB / 324.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.694, allocations: 0.5625 kB / 324.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/1.694, allocations: 1.375 kB / 324.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-05/1.694, allocations: 7.938 kB / 324.2 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.695, allocations: 185.5 kB / 324.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.695, allocations: 0 / 324.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/1.695, allocations: 12.48 kB / 324.4 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.695, allocations: 8 kB / 324.4 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.695, allocations: 0 / 324.4 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.695, allocations: 3.938 kB / 324.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.695, allocations: 4 kB / 324.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/1.695, allocations: 205.1 kB / 324.6 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/1.695, allocations: 93 kB / 324.7 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/1.695, allocations: 7.984 kB / 324.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/1.695, allocations: 4 kB / 324.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/1.695, allocations: 0 / 324.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.695, allocations: 12.23 kB / 324.7 MB, free: 6.262 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.827e-05/1.695, allocations: 107.3 kB / 324.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.695, allocations: 0 / 324.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002217/1.695, allocations: 12 kB / 324.8 MB, free: 6.145 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001001/1.696, allocations: 111.9 kB / 324.9 MB, free: 6.027 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/1.696, allocations: 60.09 kB / 325 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.696, allocations: 0 / 325 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/1.696, allocations: 12.38 kB / 325 MB, free: 5.957 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.696, allocations: 54.81 kB / 325.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/1.697, allocations: 246.7 kB / 325.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.697, allocations: 0.7044 MB / 326 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/1.697, allocations: 4.672 kB / 326 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/1.697, allocations: 15.42 kB / 326 MB, free: 4.883 MB / 250.7 MB Notification: Performance of SimCode: time 2.856e-06/1.697, allocations: 0 / 326 MB, free: 4.883 MB / 250.7 MB Notification: Performance of Templates: time 0.002908/1.7, allocations: 0.7725 MB / 326.8 MB, free: 4.117 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches