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.001302/0.001302, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001249/0.001249, allocations: 194.5 kB / 21.43 MB, free: 1.66 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.408/1.408, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001649/0.001649, allocations: 43.94 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1014, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003258/0.1047, allocations: 1.617 MB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1058, allocations: 0.5492 MB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1059, allocations: 8 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1062, allocations: 19.8 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.1062, allocations: 7.938 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1066, allocations: 63.8 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1067, allocations: 63.78 kB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1068, allocations: 11.98 kB / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.107, allocations: 39.84 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1071, allocations: 27.84 kB / 420.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1071, allocations: 4 kB / 420.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.1071, allocations: 8 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.1072, allocations: 23.92 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.1072, allocations: 35.73 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1074, allocations: 67.66 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1074, allocations: 3.938 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1074, allocations: 0 / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1074, allocations: 0 / 421 MB, free: 10.04 MB / 350.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.000573/0.108, allocations: 393.5 kB / 421.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.108, allocations: 8.031 kB / 421.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.289e-05/0.108, allocations: 8.188 kB / 421.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1081, allocations: 30.75 kB / 421.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1081, allocations: 16.78 kB / 421.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1084, allocations: 208.7 kB / 421.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1084, allocations: 8.125 kB / 421.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1085, allocations: 4 kB / 421.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.1088, allocations: 149.8 kB / 421.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1088, allocations: 0 / 421.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1088, allocations: 0 / 421.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1088, allocations: 7.984 kB / 421.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.109, allocations: 31.91 kB / 421.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1094, allocations: 282.6 kB / 422.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1095, allocations: 75.72 kB / 422.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.1096, allocations: 42.75 kB / 422.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1096, allocations: 4 kB / 422.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1097, allocations: 46.53 kB / 422.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1097, allocations: 0 / 422.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003539/0.11, allocations: 117.4 kB / 422.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.1101, allocations: 115 kB / 422.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1103, allocations: 145.8 kB / 422.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1103, allocations: 29.7 kB / 422.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1103, allocations: 84.14 kB / 422.8 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1104, allocations: 15.89 kB / 422.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1104, allocations: 21.7 kB / 422.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1105, allocations: 318.8 kB / 423.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.1106, allocations: 15.98 kB / 423.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.1107, allocations: 73.88 kB / 423.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1108, allocations: 81.92 kB / 423.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1108, allocations: 0 / 423.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002007/0.111, allocations: 105.6 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.111, allocations: 12.03 kB / 423.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1111, allocations: 3.984 kB / 423.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1111, allocations: 4 kB / 423.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.1112, allocations: 12 kB / 423.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1112, allocations: 3.938 kB / 423.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.1112, allocations: 11.94 kB / 423.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1112, allocations: 4 kB / 423.5 MB, free: 7.266 MB / 350.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.0001182/0.1114, allocations: 125.8 kB / 423.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1115, allocations: 73.58 kB / 423.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1115, allocations: 16.3 kB / 423.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1115, allocations: 0 / 423.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1115, allocations: 3.938 kB / 423.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1115, allocations: 4 kB / 423.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1117, allocations: 177.6 kB / 423.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1117, allocations: 0 / 423.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.1118, allocations: 11.98 kB / 423.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1118, allocations: 4 kB / 423.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1118, allocations: 0 / 423.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1118, allocations: 32 / 423.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1118, allocations: 11.94 kB / 423.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1121, allocations: 189.1 kB / 424.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.1121, allocations: 101.3 kB / 424.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1122, allocations: 3.984 kB / 424.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.1122, allocations: 12 kB / 424.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.1123, allocations: 3.938 kB / 424.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1123, allocations: 4 kB / 424.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1125, allocations: 117.1 kB / 424.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1125, allocations: 0 / 424.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1127, allocations: 11.94 kB / 424.3 MB, free: 6.305 MB / 350.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.0007466/0.1135, allocations: 0.7686 MB / 425.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1137, allocations: 51.91 kB / 425.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1137, allocations: 192 / 425.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.1137, allocations: 12.5 kB / 425.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1141, allocations: 51.88 kB / 425.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1158, allocations: 1.549 MB / 426.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1161, allocations: 0.7081 MB / 427.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.1161, allocations: 4.672 kB / 427.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.1162, allocations: 27.42 kB / 427.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1162, allocations: 0 / 427.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.1339, allocations: 2.125 MB / 429.6 MB, free: 1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.845, allocations: 10.39 kB / 429.6 MB, free: 0.9922 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.309974339033943]