Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 53.4 MB / 431.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00329/0.3317, allocations: 1.619 MB / 433.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3329, allocations: 0.5687 MB / 434.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.333, allocations: 7.938 kB / 434.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.3333, allocations: 15.86 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.3334, allocations: 11.92 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.3338, allocations: 79.73 kB / 434.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3339, allocations: 67.78 kB / 434.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.334, allocations: 18.08 kB / 434.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3342, allocations: 35.86 kB / 434.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3343, allocations: 31.83 kB / 434.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3343, allocations: 4 kB / 434.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.3344, allocations: 16 kB / 434.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.3345, allocations: 23.86 kB / 434.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.3345, allocations: 27.8 kB / 434.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3347, allocations: 71.66 kB / 434.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3347, allocations: 0 / 434.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3347, allocations: 0 / 434.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3347, allocations: 0 / 434.5 MB, free: 3.906 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.0005594/0.3353, allocations: 317.8 kB / 434.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3353, allocations: 12.03 kB / 434.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.3353, allocations: 192 / 434.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.3354, allocations: 38.73 kB / 434.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.3355, allocations: 28.83 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3358, allocations: 154.2 kB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3359, allocations: 8.125 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3359, allocations: 4 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3363, allocations: 157.7 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3363, allocations: 4 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3363, allocations: 0 / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3363, allocations: 0 / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3364, allocations: 31.97 kB / 435.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.3368, allocations: 245.6 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3369, allocations: 83.7 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.337, allocations: 42.75 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3371, allocations: 4 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3371, allocations: 30.56 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3371, allocations: 4 kB / 435.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003231/0.3374, allocations: 109.5 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.3375, allocations: 114.8 kB / 435.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3377, allocations: 150.4 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3377, allocations: 29.7 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3377, allocations: 88.12 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3378, allocations: 11.95 kB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3378, allocations: 21.97 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3379, allocations: 322.8 kB / 436.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.338, allocations: 27.92 kB / 436.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.3381, allocations: 62.19 kB / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3382, allocations: 81.92 kB / 436.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3382, allocations: 8 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001874/0.3384, allocations: 97.5 kB / 436.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3384, allocations: 11.94 kB / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3384, allocations: 0 / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3385, allocations: 4 kB / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.3386, allocations: 15.98 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3386, allocations: 8.156 kB / 436.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.3386, allocations: 11.94 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3386, allocations: 4 kB / 436.8 MB, free: 1.312 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.0001448/0.3388, allocations: 129.7 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3389, allocations: 73.59 kB / 437 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.339, allocations: 16.39 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.339, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.339, allocations: 7.938 kB / 437 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.339, allocations: 0 / 437 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3392, allocations: 144.7 kB / 437.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3392, allocations: 4.031 kB / 437.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.3392, allocations: 15.94 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3392, allocations: 0 / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3392, allocations: 4 kB / 437.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.3392, allocations: 7.984 kB / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3392, allocations: 7.922 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3395, allocations: 189.2 kB / 437.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.3395, allocations: 19.94 kB / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3396, allocations: 7.938 kB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.3396, allocations: 4 kB / 437.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3397, allocations: 11.92 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.3397, allocations: 4 kB / 437.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.3398, allocations: 114.8 kB / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3398, allocations: 0 / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.34, allocations: 12 kB / 437.6 MB, free: 484 kB / 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.0006797/0.3407, allocations: 0.7532 MB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3409, allocations: 60.09 kB / 438.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3409, allocations: 0 / 438.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.3409, allocations: 11.98 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3413, allocations: 54.44 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3431, allocations: 1.557 MB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.3432, allocations: 84.98 kB / 440.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.3433, allocations: 4.438 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.3433, allocations: 27.42 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3433, allocations: 3.938 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.3681, allocations: 2.349 MB / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.14, allocations: 11.42 kB / 442.5 MB, free: 11.52 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:fractionalDelay.first,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(fractionalDelay.first),previous(fractionalDelay.u_buffer[1]),sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 13.717601311043836]