Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 200 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009965/0.000997, allocations: 103.7 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004492, allocations: 8 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2562, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001393/0.2577, allocations: 1.308 MB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.2584, allocations: 0.7688 MB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.2585, allocations: 7.031 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2587, allocations: 11.92 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.2588, allocations: 19.92 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.259, allocations: 47.89 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.2591, allocations: 63.83 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.2592, allocations: 27.02 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2593, allocations: 31.86 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.2594, allocations: 31.84 kB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2594, allocations: 3.938 kB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.2595, allocations: 8 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.2595, allocations: 15.92 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.2596, allocations: 53.52 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2597, allocations: 67.7 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2597, allocations: 2.688 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2597, allocations: 0 / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2597, allocations: 4 kB / 414.5 MB, free: 23.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003774/0.2601, allocations: 368.7 kB / 414.9 MB, free: 22.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2602, allocations: 12.02 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2603, allocations: 28.84 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2605, allocations: 200.7 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2605, allocations: 384 / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2605, allocations: 12.12 kB / 415.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.2608, allocations: 153.7 kB / 415.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2608, allocations: 0 / 415.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2608, allocations: 8 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2609, allocations: 0 / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.261, allocations: 35.91 kB / 415.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.2613, allocations: 282.5 kB / 415.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.2614, allocations: 83.7 kB / 415.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.2615, allocations: 54.69 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2615, allocations: 3.938 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2615, allocations: 30.56 kB / 415.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2615, allocations: 0 / 415.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002641/0.2618, allocations: 121.6 kB / 415.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2618, allocations: 114.8 kB / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2619, allocations: 144.6 kB / 416.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.2619, allocations: 25.7 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.262, allocations: 92.12 kB / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.262, allocations: 11.91 kB / 416.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.262, allocations: 0 / 416.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.262, allocations: 326.8 kB / 416.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.2621, allocations: 16 kB / 416.6 MB, free: 21.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.2622, allocations: 61.98 kB / 416.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.704e-05/0.2623, allocations: 89.88 kB / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2623, allocations: 4 kB / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001455/0.2624, allocations: 105.4 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2624, allocations: 4 kB / 416.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2625, allocations: 4 kB / 416.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2625, allocations: 0 / 416.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.2626, allocations: 28.16 kB / 416.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2626, allocations: 7.969 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.2626, allocations: 7.938 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2626, allocations: 4 kB / 416.9 MB, free: 20.67 MB / 298.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 8.403e-05/0.2627, allocations: 121.8 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.2628, allocations: 77.52 kB / 417.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2629, allocations: 12.31 kB / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2629, allocations: 0 / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2629, allocations: 4.031 kB / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2629, allocations: 11.88 kB / 417.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.263, allocations: 177.6 kB / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.263, allocations: 0 / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.2631, allocations: 20.3 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2631, allocations: 3.984 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2631, allocations: 4 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2631, allocations: 4 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2631, allocations: 4.125 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2633, allocations: 205 kB / 417.5 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.2633, allocations: 100.9 kB / 417.6 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2633, allocations: 4 kB / 417.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.2634, allocations: 4 kB / 417.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2634, allocations: 8 kB / 417.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2635, allocations: 3.938 kB / 417.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.2635, allocations: 113.3 kB / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2635, allocations: 0 / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000209/0.2637, allocations: 12 kB / 417.8 MB, free: 19.69 MB / 298.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 8.697e-05/0.2638, allocations: 107.2 kB / 417.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.264, allocations: 64.16 kB / 417.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.264, allocations: 0 / 417.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.264, allocations: 11.98 kB / 418 MB, free: 19.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.2644, allocations: 35.95 kB / 418 MB, free: 19.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2648, allocations: 251.1 kB / 418.2 MB, free: 19.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2649, allocations: 0.7004 MB / 418.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.2649, allocations: 0.6719 kB / 418.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.2649, allocations: 15.44 kB / 419 MB, free: 18.44 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.265, allocations: 7.938 kB / 419 MB, free: 18.43 MB / 298.7 MB Notification: Performance of Templates: time 0.002377/0.2673, allocations: 0.7574 MB / 419.7 MB, free: 17.68 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches