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.00134/0.00134, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 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.001426/0.001426, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.494/1.494, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 55.91 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 53.38 MB / 427.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004467/0.1161, allocations: 1.626 MB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1177, allocations: 0.6155 MB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1179, allocations: 7.938 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1181, allocations: 11.88 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1182, allocations: 15.86 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1187, allocations: 78.98 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1189, allocations: 71.77 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.119, allocations: 11.98 kB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1192, allocations: 47.77 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1194, allocations: 27.86 kB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1194, allocations: 4 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.782e-05/0.1194, allocations: 8 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.1195, allocations: 23.92 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.1196, allocations: 35.78 kB / 429.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1198, allocations: 79.53 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1198, allocations: 0 / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1198, allocations: 0 / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1198, allocations: 0 / 429.7 MB, free: 2.012 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.0006411/0.1204, allocations: 391 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1205, allocations: 8.031 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.806e-05/0.1205, allocations: 12.12 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.1205, allocations: 34.75 kB / 430.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.1207, allocations: 20.88 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1211, allocations: 212.6 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1211, allocations: 4.125 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1211, allocations: 4 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1215, allocations: 153.8 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1215, allocations: 0 / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1215, allocations: 0 / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1215, allocations: 4 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1217, allocations: 35.91 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1221, allocations: 282.6 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1223, allocations: 75.84 kB / 430.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.1224, allocations: 42.62 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1224, allocations: 4 kB / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1224, allocations: 38.5 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1224, allocations: 0 / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000375/0.1228, allocations: 105.5 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1229, allocations: 123 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1231, allocations: 145.4 kB / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1231, allocations: 25.7 kB / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.1232, allocations: 100.1 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1232, allocations: 3.953 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1233, allocations: 29.7 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1234, allocations: 318.8 kB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.1235, allocations: 27.92 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.113e-05/0.1236, allocations: 54.25 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1237, allocations: 85.92 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1237, allocations: 7.938 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002098/0.1239, allocations: 109.5 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.124, allocations: 4 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.124, allocations: 4 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.124, allocations: 3.984 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.1241, allocations: 12 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.1241, allocations: 11.88 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.1242, allocations: 15.92 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1242, allocations: 4 kB / 432.2 MB, free: 15.21 MB / 366.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.0001398/0.1243, allocations: 122 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.1245, allocations: 73.53 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.1245, allocations: 16.3 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1245, allocations: 4 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.1245, allocations: 3.938 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1245, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1248, allocations: 173.6 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1248, allocations: 0 / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.1248, allocations: 15.98 kB / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1248, allocations: 0 / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1249, allocations: 16.02 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1249, allocations: 0 / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1249, allocations: 3.938 kB / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1251, allocations: 189.1 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.1252, allocations: 93.05 kB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1252, allocations: 15.98 kB / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1253, allocations: 4 kB / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1253, allocations: 4.125 kB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1254, allocations: 4 kB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.1254, allocations: 111.2 kB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1254, allocations: 0 / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1257, allocations: 16 kB / 433 MB, free: 14.25 MB / 366.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.0006912/0.1264, allocations: 0.7609 MB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1266, allocations: 55.91 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1266, allocations: 0.5 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1266, allocations: 11.94 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.127, allocations: 55.92 kB / 433.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1289, allocations: 1.549 MB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1292, allocations: 0.6963 MB / 436.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.308e-05/0.1292, allocations: 8.422 kB / 436.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.1293, allocations: 27.42 kB / 436.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1293, allocations: 0 / 436.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.1499, allocations: 2.15 MB / 438.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.262, allocations: 19.98 kB / 438.4 MB, free: 8.895 MB / 366.1 MB " [Timeout remaining time 652] (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/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_trunk_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: 11.075389357982203]