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.001421/0.001421, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001654/0.001654, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 8.008 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2855, allocations: 53.35 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003492/0.289, allocations: 1.647 MB / 432.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2902, allocations: 0.6153 MB / 433.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.2903, allocations: 0 / 433.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.2906, allocations: 23.78 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.2907, allocations: 19.92 kB / 433.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.291, allocations: 75.73 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2912, allocations: 67.83 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.2913, allocations: 8 kB / 433.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.2915, allocations: 43.83 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.2916, allocations: 31.86 kB / 433.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2916, allocations: 7.938 kB / 433.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.2917, allocations: 4 kB / 433.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.2917, allocations: 19.92 kB / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.2918, allocations: 43.72 kB / 433.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.292, allocations: 76.08 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.292, allocations: 0 / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.292, allocations: 0 / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.292, allocations: 0 / 433.8 MB, free: 4.203 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.0006038/0.2926, allocations: 317.9 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2926, allocations: 8.031 kB / 434.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.2927, allocations: 38.69 kB / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2928, allocations: 20.83 kB / 434.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2931, allocations: 156.7 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2931, allocations: 8.375 kB / 434.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2932, allocations: 3.938 kB / 434.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.2935, allocations: 145.9 kB / 434.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2935, allocations: 7.938 kB / 434.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2935, allocations: 0 / 434.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2935, allocations: 3.938 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2936, allocations: 31.97 kB / 434.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.294, allocations: 253.6 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.2942, allocations: 79.72 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2943, allocations: 46.75 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2943, allocations: 0 / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2943, allocations: 38.56 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.2943, allocations: 0 / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003306/0.2947, allocations: 109.5 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.2948, allocations: 114.7 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2949, allocations: 156 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2949, allocations: 25.7 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.295, allocations: 96.38 kB / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.295, allocations: 7.953 kB / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.2951, allocations: 29.7 kB / 435.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2953, allocations: 310.8 kB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.2953, allocations: 23.98 kB / 435.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.2954, allocations: 65.98 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.2956, allocations: 86.11 kB / 436 MB, free: 1.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2956, allocations: 0 / 436 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002106/0.2958, allocations: 105.5 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2959, allocations: 8 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2959, allocations: 3.984 kB / 436.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.2959, allocations: 4 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.296, allocations: 20.16 kB / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.296, allocations: 0 / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.2961, allocations: 11.92 kB / 436.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2961, allocations: 4 kB / 436.1 MB, free: 1.613 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.0001332/0.2962, allocations: 125.8 kB / 436.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2963, allocations: 73.53 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.2964, allocations: 20.39 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2964, allocations: 3.984 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2964, allocations: 4 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2964, allocations: 7.969 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2966, allocations: 144.9 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2966, allocations: 0 / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.2966, allocations: 23.86 kB / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2966, allocations: 0 / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2967, allocations: 0 / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2967, allocations: 4 kB / 436.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2967, allocations: 0 / 436.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2969, allocations: 197.1 kB / 436.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.297, allocations: 19.92 kB / 436.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.297, allocations: 4 kB / 436.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.2971, allocations: 11.98 kB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2971, allocations: 3.938 kB / 436.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.2971, allocations: 7.938 kB / 436.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2972, allocations: 117.6 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2972, allocations: 0 / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000254/0.2975, allocations: 19.95 kB / 436.9 MB, free: 0.7578 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.0008189/0.2983, allocations: 0.7494 MB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.2985, allocations: 59.84 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2985, allocations: 0 / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.2985, allocations: 4 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2989, allocations: 56.05 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3012, allocations: 1.543 MB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.3018, allocations: 0.7117 MB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.3019, allocations: 8.422 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.302, allocations: 23.44 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.302, allocations: 4.031 kB / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.3345, allocations: 2.257 MB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.26, allocations: 6.641 kB / 442.3 MB, free: 11.3 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.783324274001643]