Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.7 MB / 243.2 MB, free: 10.26 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008042, allocations: 101.5 kB / 294.4 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 8 kB / 354.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 50.41 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001474/0.2651, allocations: 1.304 MB / 405.9 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.2658, allocations: 0.4952 MB / 406.4 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.2659, allocations: 4.531 kB / 406.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2661, allocations: 11.92 kB / 406.4 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.2661, allocations: 15.14 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2664, allocations: 47.89 kB / 406.5 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.2665, allocations: 67.77 kB / 406.5 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.2666, allocations: 15.98 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.2667, allocations: 31.86 kB / 406.6 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.2668, allocations: 28.97 kB / 406.6 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2668, allocations: 7.938 kB / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.2668, allocations: 0 / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2669, allocations: 16.52 kB / 406.6 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.2669, allocations: 57.44 kB / 406.7 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.267, allocations: 68.69 kB / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.267, allocations: 0 / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.267, allocations: 1.25 kB / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.267, allocations: 0 / 406.7 MB, free: 29.2 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.0003552/0.2674, allocations: 371.5 kB / 407.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2674, allocations: 8.031 kB / 407.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.2675, allocations: 16.84 kB / 407.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2676, allocations: 206.7 kB / 407.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2677, allocations: 4.375 kB / 407.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2677, allocations: 8.125 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.268, allocations: 150.8 kB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.268, allocations: 7.922 kB / 407.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.268, allocations: 0 / 407.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.268, allocations: 0 / 407.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.2681, allocations: 31.98 kB / 407.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.2684, allocations: 286.5 kB / 407.8 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2685, allocations: 91.78 kB / 407.9 MB, free: 27.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.2686, allocations: 42.69 kB / 407.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2686, allocations: 3.984 kB / 407.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2686, allocations: 38.56 kB / 408 MB, free: 27.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2686, allocations: 0 / 408 MB, free: 27.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002679/0.2689, allocations: 117.4 kB / 408.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.269, allocations: 110.8 kB / 408.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.2691, allocations: 144.6 kB / 408.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2691, allocations: 29.7 kB / 408.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2691, allocations: 96.33 kB / 408.5 MB, free: 27.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2691, allocations: 7.906 kB / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/0.2691, allocations: 0 / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.2692, allocations: 322.8 kB / 408.8 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.2692, allocations: 19.98 kB / 408.8 MB, free: 26.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.2693, allocations: 69.94 kB / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.2694, allocations: 89.86 kB / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2694, allocations: 0 / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001418/0.2696, allocations: 105.5 kB / 409.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2696, allocations: 8.219 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2696, allocations: 4 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2696, allocations: 4 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.2697, allocations: 19.92 kB / 409.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2697, allocations: 0 / 409.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.2698, allocations: 7.938 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2698, allocations: 4 kB / 409.1 MB, free: 26.52 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 0.0001099/0.2699, allocations: 129.8 kB / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.27, allocations: 73.78 kB / 409.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.27, allocations: 20.33 kB / 409.3 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.27, allocations: 3.984 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.27, allocations: 4 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.27, allocations: 3.938 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2702, allocations: 181.6 kB / 409.5 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2702, allocations: 0 / 409.5 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.2702, allocations: 15.94 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2702, allocations: 0 / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2703, allocations: 3.984 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2703, allocations: 4 kB / 409.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2703, allocations: 4 kB / 409.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.2704, allocations: 205 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2705, allocations: 97 kB / 409.8 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2705, allocations: 8 kB / 409.9 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.2706, allocations: 3.984 kB / 409.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.2706, allocations: 4 kB / 409.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2706, allocations: 7.875 kB / 409.9 MB, free: 25.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.2707, allocations: 115.2 kB / 410 MB, free: 25.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2707, allocations: 3.938 kB / 410 MB, free: 25.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.2709, allocations: 8 kB / 410 MB, free: 25.53 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.779e-05/0.271, allocations: 107.2 kB / 410.1 MB, free: 25.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.2712, allocations: 59.91 kB / 410.2 MB, free: 25.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2712, allocations: 0 / 410.2 MB, free: 25.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.2712, allocations: 11.98 kB / 410.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.2716, allocations: 48.14 kB / 410.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.2719, allocations: 243.3 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2721, allocations: 0.7043 MB / 411.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.2721, allocations: 12.66 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2721, allocations: 15.44 kB / 411.2 MB, free: 24.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2722, allocations: 0 / 411.2 MB, free: 24.26 MB / 298.7 MB Notification: Performance of Templates: time 0.002449/0.2746, allocations: 0.7493 MB / 411.9 MB, free: 23.52 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches