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.001257/0.001257, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00154/0.00154, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.474/1.474, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.002123/0.002123, allocations: 59.91 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003343/0.3744, allocations: 1.631 MB / 433.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3757, allocations: 0.627 MB / 434.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3758, allocations: 7.938 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.3761, allocations: 11.88 kB / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.3761, allocations: 11.92 kB / 434.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3765, allocations: 75.73 kB / 434.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3767, allocations: 67.83 kB / 434.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3768, allocations: 8 kB / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.377, allocations: 51.77 kB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3771, allocations: 31.86 kB / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3771, allocations: 4 kB / 434.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.3771, allocations: 11.98 kB / 434.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.3772, allocations: 19.91 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.3773, allocations: 35.75 kB / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.3775, allocations: 72.08 kB / 434.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3775, allocations: 3.938 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3775, allocations: 4 kB / 434.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3775, allocations: 0 / 434.6 MB, free: 4.012 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.0005797/0.3781, allocations: 317.9 kB / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3781, allocations: 12.03 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.3781, allocations: 4.125 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3782, allocations: 30.75 kB / 435 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.3783, allocations: 20.88 kB / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3787, allocations: 158.2 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3787, allocations: 12.12 kB / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3787, allocations: 4 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.3791, allocations: 149.8 kB / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3791, allocations: 0 / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3791, allocations: 4 kB / 435.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3791, allocations: 4 kB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3792, allocations: 27.98 kB / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3796, allocations: 253.6 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3798, allocations: 87.83 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.3799, allocations: 38.62 kB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3799, allocations: 7.984 kB / 435.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3799, allocations: 34.56 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3799, allocations: 0 / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003444/0.3803, allocations: 121.4 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.3804, allocations: 106.8 kB / 436 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3805, allocations: 150.4 kB / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3805, allocations: 25.7 kB / 436.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.3806, allocations: 96.09 kB / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3806, allocations: 12.19 kB / 436.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3807, allocations: 25.72 kB / 436.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3809, allocations: 322.8 kB / 436.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.3809, allocations: 15.98 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.381, allocations: 69.88 kB / 436.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3812, allocations: 77.94 kB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3812, allocations: 4 kB / 436.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002098/0.3814, allocations: 109.4 kB / 436.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3814, allocations: 8 kB / 436.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3814, allocations: 0 / 436.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3814, allocations: 4 kB / 436.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3815, allocations: 15.98 kB / 436.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3815, allocations: 3.938 kB / 436.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3816, allocations: 8.219 kB / 436.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3816, allocations: 11.98 kB / 436.9 MB, free: 1.41 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.0001399/0.3817, allocations: 129.7 kB / 437.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3819, allocations: 69.59 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.3819, allocations: 16.41 kB / 437.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3819, allocations: 0 / 437.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3819, allocations: 3.938 kB / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3819, allocations: 4 kB / 437.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3821, allocations: 144.7 kB / 437.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3821, allocations: 4.031 kB / 437.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.3822, allocations: 15.92 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3822, allocations: 4 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3822, allocations: 0 / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3822, allocations: 0 / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.3822, allocations: 7.938 kB / 437.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3825, allocations: 197.5 kB / 437.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.3825, allocations: 19.89 kB / 437.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3825, allocations: 11.98 kB / 437.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3826, allocations: 7.938 kB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3827, allocations: 7.938 kB / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3827, allocations: 0 / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.3828, allocations: 114.2 kB / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3828, allocations: 0 / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.383, allocations: 12 kB / 437.7 MB, free: 0.5742 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.0007142/0.3837, allocations: 0.757 MB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3839, allocations: 59.97 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3839, allocations: 192 / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.384, allocations: 4 kB / 438.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3844, allocations: 55.8 kB / 438.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3862, allocations: 1.557 MB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3865, allocations: 0.7039 MB / 440.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.185e-05/0.3866, allocations: 12.42 kB / 440.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3866, allocations: 27.42 kB / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3866, allocations: 0 / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4115, allocations: 2.28 MB / 443.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.2, allocations: 11.62 kB / 443.2 MB, free: 11.06 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.780607196036726]