Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.001759, allocations: 105.8 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009239/0.0009239, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3742, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002995/0.3772, allocations: 1.611 MB / 402.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.3781, allocations: 0.5376 MB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.3782, allocations: 3.938 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3784, allocations: 15.86 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.3785, allocations: 7.938 kB / 402.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3788, allocations: 63.8 kB / 403 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3789, allocations: 63.78 kB / 403 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.379, allocations: 19.97 kB / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.3791, allocations: 39.78 kB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3792, allocations: 35.84 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3793, allocations: 4 kB / 403.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.3793, allocations: 4 kB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.3793, allocations: 15.92 kB / 403.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.3794, allocations: 35.8 kB / 403.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3795, allocations: 67.72 kB / 403.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3795, allocations: 0 / 403.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3795, allocations: 0 / 403.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3795, allocations: 0 / 403.2 MB, free: 6.336 MB / 318.1 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.0004748/0.38, allocations: 396.2 kB / 403.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3801, allocations: 15.89 kB / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.3801, allocations: 12.75 kB / 403.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3803, allocations: 200.6 kB / 403.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3804, allocations: 4.375 kB / 403.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3804, allocations: 12.12 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.3807, allocations: 149.8 kB / 404 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3807, allocations: 0 / 404 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3808, allocations: 4 kB / 404 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3808, allocations: 7.938 kB / 404 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3809, allocations: 23.98 kB / 404.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.3812, allocations: 290.5 kB / 404.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3814, allocations: 83.7 kB / 404.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.3815, allocations: 46.75 kB / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3815, allocations: 0 / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3815, allocations: 30.56 kB / 404.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3815, allocations: 0 / 404.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002888/0.3818, allocations: 109.4 kB / 404.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3819, allocations: 115.1 kB / 404.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3821, allocations: 149.4 kB / 404.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3821, allocations: 25.7 kB / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.3821, allocations: 92.12 kB / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3822, allocations: 11.89 kB / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.3822, allocations: 25.62 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3823, allocations: 326.8 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.3824, allocations: 19.98 kB / 405.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.3825, allocations: 61.94 kB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3826, allocations: 77.94 kB / 405.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3826, allocations: 192 / 405.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002071/0.3828, allocations: 113.5 kB / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3829, allocations: 7.938 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3829, allocations: 4 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3829, allocations: 0 / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.383, allocations: 19.98 kB / 405.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.383, allocations: 4 kB / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.3831, allocations: 7.938 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3831, allocations: 4 kB / 405.6 MB, free: 3.621 MB / 318.1 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 ($CLKPRE.fractionalDelay.first,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.0001306/0.3832, allocations: 129.8 kB / 405.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3834, allocations: 73.91 kB / 405.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.3834, allocations: 8.312 kB / 405.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3834, allocations: 7.938 kB / 405.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3834, allocations: 0 / 405.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3834, allocations: 11.91 kB / 405.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3836, allocations: 177.6 kB / 406 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3836, allocations: 4 kB / 406 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.3837, allocations: 15.92 kB / 406.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3837, allocations: 0 / 406.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3837, allocations: 4 kB / 406.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3837, allocations: 4.031 kB / 406.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3837, allocations: 0 / 406.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3839, allocations: 201 kB / 406.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.384, allocations: 89 kB / 406.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3841, allocations: 8 kB / 406.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.3841, allocations: 8 kB / 406.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3842, allocations: 3.984 kB / 406.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3842, allocations: 7.938 kB / 406.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.3842, allocations: 103.3 kB / 406.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3843, allocations: 0 / 406.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.3845, allocations: 15.91 kB / 406.5 MB, free: 2.656 MB / 318.1 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.0001129/0.3846, allocations: 107.2 kB / 406.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.3848, allocations: 63.84 kB / 406.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3848, allocations: 0 / 406.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.3849, allocations: 8 kB / 406.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3852, allocations: 42.34 kB / 406.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.3857, allocations: 217.4 kB / 406.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.386, allocations: 0.7156 MB / 407.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.386, allocations: 4.672 kB / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.3861, allocations: 19.42 kB / 407.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3861, allocations: 0 / 407.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of Templates: time 0.003097/0.3892, allocations: 0.8629 MB / 408.5 MB, free: 0.5703 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches