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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 113 kB / 19.04 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] 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=5017,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=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 59.89 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003134/0.3665, allocations: 1.643 MB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3675, allocations: 0.5453 MB / 423.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3676, allocations: 0 / 423.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3678, allocations: 23.86 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.3679, allocations: 15.86 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3682, allocations: 59.81 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3684, allocations: 67.77 kB / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3685, allocations: 11.98 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3686, allocations: 27.92 kB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3688, allocations: 35.83 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3688, allocations: 4 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.3688, allocations: 4 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.3689, allocations: 19.92 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.369, allocations: 39.73 kB / 423.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3692, allocations: 72.88 kB / 423.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3692, allocations: 0 / 423.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3692, allocations: 0 / 423.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3692, allocations: 0 / 423.4 MB, free: 12.53 MB / 334.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.0006483/0.3698, allocations: 391 kB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3699, allocations: 15.89 kB / 423.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3699, allocations: 12.84 kB / 423.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3702, allocations: 204.8 kB / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.3702, allocations: 8.359 kB / 424 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3703, allocations: 8.125 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.3707, allocations: 149.8 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3707, allocations: 4 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3707, allocations: 0 / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3707, allocations: 4 kB / 424.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3708, allocations: 35.91 kB / 424.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3712, allocations: 278.6 kB / 424.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3714, allocations: 79.84 kB / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.3714, allocations: 42.56 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3715, allocations: 3.938 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3715, allocations: 46.5 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 4.318e-06/0.3715, allocations: 3.984 kB / 424.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003409/0.3719, allocations: 113.5 kB / 424.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.372, allocations: 110.8 kB / 424.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3721, allocations: 139.7 kB / 425 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3721, allocations: 29.7 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3722, allocations: 96.38 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3722, allocations: 11.89 kB / 425.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3722, allocations: 25.7 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3724, allocations: 318.8 kB / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.3724, allocations: 15.98 kB / 425.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.3725, allocations: 66 kB / 425.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3727, allocations: 85.86 kB / 425.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3727, allocations: 0 / 425.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001956/0.3729, allocations: 101.5 kB / 425.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3729, allocations: 8 kB / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3729, allocations: 0 / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3729, allocations: 4 kB / 425.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.373, allocations: 16.2 kB / 425.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.373, allocations: 7.938 kB / 425.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.3731, allocations: 15.83 kB / 425.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3731, allocations: 7.984 kB / 425.8 MB, free: 9.801 MB / 334.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.0001209/0.3732, allocations: 125.8 kB / 426 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3734, allocations: 69.58 kB / 426 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.3734, allocations: 16.3 kB / 426 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3734, allocations: 0 / 426 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3734, allocations: 0 / 426 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3734, allocations: 11.97 kB / 426.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3736, allocations: 177.6 kB / 426.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3736, allocations: 0 / 426.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.3737, allocations: 8 kB / 426.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3737, allocations: 4 kB / 426.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3737, allocations: 3.984 kB / 426.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3737, allocations: 0 / 426.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3737, allocations: 3.938 kB / 426.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.374, allocations: 205.6 kB / 426.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.3741, allocations: 97.05 kB / 426.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3741, allocations: 3.938 kB / 426.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.3742, allocations: 11.98 kB / 426.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3742, allocations: 0 / 426.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3742, allocations: 11.94 kB / 426.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.3743, allocations: 109.1 kB / 426.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3743, allocations: 4 kB / 426.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.3746, allocations: 12 kB / 426.7 MB, free: 8.836 MB / 334.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.0001309/0.3747, allocations: 103.2 kB / 426.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3749, allocations: 55.84 kB / 426.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3749, allocations: 0 / 426.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.3749, allocations: 16.42 kB / 426.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3753, allocations: 40.02 kB / 426.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.3759, allocations: 220.7 kB / 427.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3762, allocations: 0.7078 MB / 427.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.3763, allocations: 12.75 kB / 427.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.3763, allocations: 11.44 kB / 427.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3763, allocations: 0 / 427.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of Templates: time 0.003894/0.3802, allocations: 0.872 MB / 428.7 MB, free: 6.746 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.084080956876278]