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.001484/0.001484, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001743/0.001743, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.366/1.366, allocations: 230.6 MB / 258.3 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 52.06 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2301, allocations: 53.36 MB / 431.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00278/0.2329, allocations: 1.631 MB / 433.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2339, allocations: 0.6309 MB / 434.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.234, allocations: 7.875 kB / 434.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2342, allocations: 11.88 kB / 434.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.2342, allocations: 11.92 kB / 434.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.2345, allocations: 79.73 kB / 434.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.2346, allocations: 67.83 kB / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.2347, allocations: 15.98 kB / 434.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2348, allocations: 43.78 kB / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.2349, allocations: 23.86 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2349, allocations: 4 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.235, allocations: 11.98 kB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.235, allocations: 23.92 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.2351, allocations: 35.73 kB / 434.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2352, allocations: 72.08 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2352, allocations: 0 / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2352, allocations: 0 / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.2352, allocations: 0 / 434.6 MB, free: 4.336 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.0004259/0.2356, allocations: 325.8 kB / 434.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2357, allocations: 8.031 kB / 434.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.2357, allocations: 4.188 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2357, allocations: 34.75 kB / 435 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.2358, allocations: 20.88 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2361, allocations: 152.7 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2361, allocations: 12.12 kB / 435.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2361, allocations: 8 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2364, allocations: 137.9 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2364, allocations: 3.938 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2364, allocations: 12 kB / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2364, allocations: 3.984 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2365, allocations: 27.98 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2368, allocations: 253.6 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.237, allocations: 79.72 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.2371, allocations: 46.75 kB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2371, allocations: 3.938 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2371, allocations: 42.48 kB / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2371, allocations: 4 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002897/0.2374, allocations: 109.5 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.2375, allocations: 110.8 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2376, allocations: 148.2 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2376, allocations: 29.7 kB / 436.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.2377, allocations: 92.34 kB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2377, allocations: 11.95 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.2377, allocations: 25.7 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2378, allocations: 322.8 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.2379, allocations: 16 kB / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.238, allocations: 61.92 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2381, allocations: 81.94 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2381, allocations: 4 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001871/0.2383, allocations: 105.5 kB / 436.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2383, allocations: 4 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2383, allocations: 7.938 kB / 436.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2383, allocations: 3.984 kB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.2384, allocations: 16 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2384, allocations: 16.14 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.2385, allocations: 4 kB / 436.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.2385, allocations: 0 / 436.9 MB, free: 1.738 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.0001072/0.2386, allocations: 129.7 kB / 437 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2387, allocations: 73.58 kB / 437.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.2387, allocations: 12.41 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2388, allocations: 4 kB / 437.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2388, allocations: 3.938 kB / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2388, allocations: 0 / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2389, allocations: 156.7 kB / 437.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2389, allocations: 320 / 437.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.239, allocations: 19.92 kB / 437.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.239, allocations: 0 / 437.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.239, allocations: 8 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.239, allocations: 0 / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.239, allocations: 3.938 kB / 437.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.2392, allocations: 197.1 kB / 437.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.2393, allocations: 20.12 kB / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2393, allocations: 3.984 kB / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.2394, allocations: 11.88 kB / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.2394, allocations: 3.938 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2394, allocations: 4 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.2395, allocations: 117.5 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2395, allocations: 0 / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.2397, allocations: 12 kB / 437.7 MB, free: 0.8906 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.0005961/0.2403, allocations: 0.757 MB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2405, allocations: 55.97 kB / 438.5 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2405, allocations: 0 / 438.5 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.2405, allocations: 8 kB / 438.5 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.2409, allocations: 48.06 kB / 438.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2425, allocations: 1.56 MB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2429, allocations: 0.7078 MB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.2429, allocations: 12.42 kB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.2429, allocations: 23.42 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2429, allocations: 0 / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.2648, allocations: 2.289 MB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.74, allocations: 8 kB / 443.1 MB, free: 11.4 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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] "" 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.136696467990987]