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.001284/0.001284, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001293/0.001293, allocations: 186.8 kB / 24.49 MB, free: 3.961 MB / 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.339/1.339, allocations: 225.7 MB / 253.3 MB, free: 12.87 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 47.92 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2254, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002869/0.2283, allocations: 1.614 MB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.2292, allocations: 0.5026 MB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.2293, allocations: 3.938 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2295, allocations: 15.86 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.2295, allocations: 19.86 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2298, allocations: 57.81 kB / 425.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2299, allocations: 71.77 kB / 425.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.23, allocations: 14.09 kB / 425.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.2301, allocations: 27.92 kB / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.2302, allocations: 39.83 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.2302, allocations: 8 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.2302, allocations: 4 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.2303, allocations: 15.92 kB / 425.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.2303, allocations: 27.75 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2305, allocations: 71.66 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2305, allocations: 0 / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2305, allocations: 0 / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2305, allocations: 0 / 425.8 MB, free: 11.93 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.0004733/0.231, allocations: 321 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.231, allocations: 11.97 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.577e-05/0.231, allocations: 4.188 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2311, allocations: 38.75 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.2311, allocations: 8.891 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2313, allocations: 150.8 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2313, allocations: 4.125 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.2313, allocations: 4 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2317, allocations: 149.9 kB / 426.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2317, allocations: 4 kB / 426.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2317, allocations: 0 / 426.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2317, allocations: 0 / 426.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2318, allocations: 35.92 kB / 426.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.2321, allocations: 245.6 kB / 426.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2323, allocations: 79.72 kB / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.2324, allocations: 50.66 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2324, allocations: 4 kB / 426.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2324, allocations: 34.56 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2324, allocations: 7.938 kB / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003139/0.2327, allocations: 109.5 kB / 427.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.2328, allocations: 111 kB / 427.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.233, allocations: 155.2 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.233, allocations: 25.7 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.233, allocations: 88.14 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.2331, allocations: 19.88 kB / 427.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.2331, allocations: 17.72 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2332, allocations: 327.1 kB / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.2333, allocations: 15.98 kB / 427.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.2334, allocations: 66 kB / 427.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2335, allocations: 77.88 kB / 428 MB, free: 9.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2335, allocations: 4 kB / 428 MB, free: 9.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001884/0.2337, allocations: 109.5 kB / 428.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2337, allocations: 4 kB / 428.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2337, allocations: 4 kB / 428.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2337, allocations: 0 / 428.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.2338, allocations: 19.92 kB / 428.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2338, allocations: 8.156 kB / 428.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.2339, allocations: 11.95 kB / 428.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2339, allocations: 4 kB / 428.1 MB, free: 9.355 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.0001131/0.234, allocations: 125.8 kB / 428.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2341, allocations: 69.58 kB / 428.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.2341, allocations: 8.406 kB / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2342, allocations: 4 kB / 428.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2342, allocations: 3.938 kB / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2342, allocations: 0 / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.2343, allocations: 140.7 kB / 428.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2343, allocations: 8.031 kB / 428.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.2344, allocations: 19.92 kB / 428.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2344, allocations: 0 / 428.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2344, allocations: 4 kB / 428.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2344, allocations: 192 / 428.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2344, allocations: 3.938 kB / 428.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.2347, allocations: 205.1 kB / 428.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.2347, allocations: 15.89 kB / 428.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2347, allocations: 15.92 kB / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.2348, allocations: 0 / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.2348, allocations: 11.94 kB / 428.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2348, allocations: 0 / 428.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.2349, allocations: 116.7 kB / 428.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2349, allocations: 0 / 428.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.2351, allocations: 15.95 kB / 428.9 MB, free: 8.52 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.0006155/0.2358, allocations: 0.765 MB / 429.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.2359, allocations: 60.22 kB / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2359, allocations: 0 / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.236, allocations: 4 kB / 429.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.2364, allocations: 47.88 kB / 429.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2381, allocations: 1.545 MB / 431.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.263e-05/0.2381, allocations: 83.31 kB / 431.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.2382, allocations: 8.656 kB / 431.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.2382, allocations: 27.42 kB / 431.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2382, allocations: 0 / 431.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2605, allocations: 2.303 MB / 433.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.85, allocations: 19.73 kB / 433.7 MB, free: 3.648 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/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] "" 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.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 13.208736068103462]