Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 51.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.351, allocations: 53.36 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00386/0.3548, allocations: 1.631 MB / 433.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3564, allocations: 0.6309 MB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3565, allocations: 3.938 kB / 433.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3567, allocations: 15.86 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.3568, allocations: 7.922 kB / 433.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3572, allocations: 79.73 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3575, allocations: 67.83 kB / 434.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3576, allocations: 8 kB / 434.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.3577, allocations: 51.77 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3579, allocations: 27.86 kB / 434.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3579, allocations: 7.938 kB / 434.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.3579, allocations: 12 kB / 434.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.358, allocations: 19.91 kB / 434.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.3581, allocations: 35.73 kB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3583, allocations: 76.92 kB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3583, allocations: 0 / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3583, allocations: 0 / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3583, allocations: 0 / 434.3 MB, free: 4.27 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.0005998/0.3589, allocations: 321.8 kB / 434.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3589, allocations: 12.03 kB / 434.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3591, allocations: 12.89 kB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3594, allocations: 150.9 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3594, allocations: 8.375 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3595, allocations: 8.125 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.3598, allocations: 149.9 kB / 435 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3599, allocations: 3.938 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3599, allocations: 0 / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3599, allocations: 0 / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.36, allocations: 31.97 kB / 435 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.3604, allocations: 261.6 kB / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3606, allocations: 79.7 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3607, allocations: 50.75 kB / 435.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3607, allocations: 0 / 435.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3608, allocations: 30.56 kB / 435.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3608, allocations: 4 kB / 435.4 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003388/0.3611, allocations: 113.5 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3612, allocations: 111 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3614, allocations: 152.1 kB / 435.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3614, allocations: 25.7 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.3614, allocations: 96.08 kB / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.3615, allocations: 7.953 kB / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.3615, allocations: 21.72 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3616, allocations: 322.8 kB / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.3617, allocations: 31.92 kB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/0.3618, allocations: 61.94 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3619, allocations: 81.92 kB / 436.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3619, allocations: 0 / 436.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002045/0.3621, allocations: 105.6 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3622, allocations: 10.81 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3622, allocations: 0 / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3622, allocations: 4 kB / 436.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3623, allocations: 19.92 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3623, allocations: 0 / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3623, allocations: 7.938 kB / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3624, allocations: 4 kB / 436.6 MB, free: 1.73 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.0001186/0.3625, allocations: 129.8 kB / 436.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3626, allocations: 73.69 kB / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.3627, allocations: 16.39 kB / 436.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3627, allocations: 3.984 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3627, allocations: 4 kB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3627, allocations: 3.938 kB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3629, allocations: 152.7 kB / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3629, allocations: 0 / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.363, allocations: 15.94 kB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.363, allocations: 0 / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.363, allocations: 4.297 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.363, allocations: 8.031 kB / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.363, allocations: 4 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3632, allocations: 197.1 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.3633, allocations: 19.94 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.3633, allocations: 0 / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.3634, allocations: 8 kB / 437.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3634, allocations: 15.86 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3634, allocations: 7.938 kB / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.3635, allocations: 109.7 kB / 437.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3635, allocations: 4 kB / 437.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3638, allocations: 8 kB / 437.3 MB, free: 0.8789 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.0001325/0.3639, allocations: 99.25 kB / 437.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3641, allocations: 55.91 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3642, allocations: 192 / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.3642, allocations: 15.92 kB / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3646, allocations: 39.94 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.3652, allocations: 217.6 kB / 437.7 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3656, allocations: 0.708 MB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.3656, allocations: 8.422 kB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3657, allocations: 11.44 kB / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3657, allocations: 0 / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.004265/0.3699, allocations: 0.9046 MB / 439.4 MB, free: 14.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1605871370993555]