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.0009685/0.0009685, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008383/0.0008383, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8896/0.8896, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.518e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002126/0.002152, allocations: 1.634 MB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.003137, allocations: 0.5647 MB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.003229, allocations: 7.938 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.003459, allocations: 11.88 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.003524, allocations: 11.86 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.003894, allocations: 83.61 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.004014, allocations: 71.75 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.004111, allocations: 4 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.004258, allocations: 47.83 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.004353, allocations: 27.91 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.004373, allocations: 4 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.362e-05/0.004416, allocations: 4 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.004495, allocations: 23.91 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.004527, allocations: 19.94 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.004697, allocations: 79.69 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.004701, allocations: 0 / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.004704, allocations: 4 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.004711, allocations: 0 / 327.1 MB, free: 13.29 MB / 298.7 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.000445/0.005156, allocations: 306 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.005202, allocations: 23.91 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.005234, allocations: 34.75 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.005365, allocations: 28.77 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.005626, allocations: 142.2 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.005649, allocations: 384 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.005662, allocations: 12.38 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.005966, allocations: 162 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005975, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.005984, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.005989, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.006063, allocations: 35.91 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.006361, allocations: 245.7 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.006463, allocations: 79.72 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.006517, allocations: 42.75 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.006538, allocations: 0 / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.006557, allocations: 34.56 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006558, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002144/0.006772, allocations: 117.5 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.00683, allocations: 118.9 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.006923, allocations: 149.4 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006935, allocations: 29.7 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.006976, allocations: 96.11 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.006993, allocations: 7.953 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.007022, allocations: 17.72 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.0071, allocations: 318.8 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.007132, allocations: 15.98 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.007166, allocations: 38.5 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.007237, allocations: 46.56 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.00724, allocations: 0 / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.843e-05/0.007339, allocations: 77.56 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.007354, allocations: 11.28 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007359, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007372, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.007445, allocations: 11.94 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.007451, allocations: 96 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.007475, allocations: 11.98 kB / 329.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007482, allocations: 3.984 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 9.526e-05/0.007577, allocations: 125.8 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.007651, allocations: 69.58 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.007685, allocations: 16.45 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007687, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.007692, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.007696, allocations: 4 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.007819, allocations: 152.6 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00782, allocations: 32 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.00786, allocations: 15.98 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.007865, allocations: 4 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.007872, allocations: 3.938 kB / 329.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007874, allocations: 0 / 329.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.007877, allocations: 4.438 kB / 329.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.008024, allocations: 201 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.008064, allocations: 19.94 kB / 329.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.00808, allocations: 4 kB / 329.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.008402, allocations: 11.98 kB / 329.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.00843, allocations: 7.938 kB / 329.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.008435, allocations: 4 kB / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.008488, allocations: 115.2 kB / 330 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008488, allocations: 0 / 330 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.008645, allocations: 12 kB / 330 MB, free: 10.01 MB / 298.7 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.0003779/0.009023, allocations: 0.7531 MB / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009136, allocations: 40.11 kB / 330.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.009138, allocations: 4.062 kB / 330.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.009156, allocations: 11.98 kB / 330.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.009435, allocations: 36.84 kB / 330.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.01048, allocations: 1.466 MB / 332.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.01054, allocations: 89.27 kB / 332.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.01057, allocations: 7.938 kB / 332.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.01062, allocations: 28.48 kB / 332.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01062, allocations: 0 / 332.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.02796, allocations: 2.757 MB / 335.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/6.65, allocations: 4 kB / 335.2 MB, free: 4.766 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.299135008826852]