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.001268/0.001268, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001347/0.001347, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.439/1.439, allocations: 230.2 MB / 254.5 MB, free: 15.43 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="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 0.001835/0.001835, allocations: 63.89 kB / 373.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002986/0.1114, allocations: 1.624 MB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1126, allocations: 0.6077 MB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.1127, allocations: 7.938 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1129, allocations: 15.86 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.1129, allocations: 19.86 kB / 428.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1133, allocations: 71.8 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1134, allocations: 71.77 kB / 429.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1135, allocations: 8 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1137, allocations: 47.77 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1138, allocations: 27.86 kB / 429.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1138, allocations: 4 kB / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.1138, allocations: 7.938 kB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.1139, allocations: 23.92 kB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1139, allocations: 35.78 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1141, allocations: 83.53 kB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1141, allocations: 0 / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1141, allocations: 0 / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1141, allocations: 0 / 429.3 MB, free: 2.352 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.0005533/0.1147, allocations: 391 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1147, allocations: 8.031 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.1148, allocations: 38.75 kB / 429.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1149, allocations: 16.88 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1152, allocations: 223.1 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1152, allocations: 8.312 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1153, allocations: 7.938 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.1156, allocations: 149.8 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1156, allocations: 4 kB / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1156, allocations: 0 / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1156, allocations: 0 / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1158, allocations: 39.91 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1161, allocations: 278.6 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1163, allocations: 79.84 kB / 430.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.1163, allocations: 38.62 kB / 430.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1164, allocations: 4 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1164, allocations: 34.56 kB / 430.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1164, allocations: 0 / 430.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003291/0.1167, allocations: 109.7 kB / 430.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.1168, allocations: 118.9 kB / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.117, allocations: 142.4 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.117, allocations: 29.95 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1171, allocations: 100.1 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1171, allocations: 7.953 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1171, allocations: 25.7 kB / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1173, allocations: 318.8 kB / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1174, allocations: 23.92 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.1174, allocations: 65.94 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1176, allocations: 85.92 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1176, allocations: 0 / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00019/0.1178, allocations: 101.4 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1178, allocations: 8 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1178, allocations: 3.938 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1178, allocations: 7.984 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.1179, allocations: 16.22 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1179, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.118, allocations: 19.86 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.118, allocations: 4 kB / 431.8 MB, free: 15.56 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.0001223/0.1181, allocations: 125.8 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1182, allocations: 73.59 kB / 432 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1183, allocations: 20.23 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1183, allocations: 0 / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1183, allocations: 4 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1183, allocations: 7.969 kB / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1185, allocations: 173.6 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1185, allocations: 0 / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.1185, allocations: 15.98 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1185, allocations: 0 / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1185, allocations: 4 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1185, allocations: 4 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1185, allocations: 0 / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1188, allocations: 193.1 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.1188, allocations: 101 kB / 432.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1189, allocations: 11.98 kB / 432.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1189, allocations: 0 / 432.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.119, allocations: 8 kB / 432.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.119, allocations: 4 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.1191, allocations: 118.2 kB / 432.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1191, allocations: 0 / 432.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1193, allocations: 12 kB / 432.6 MB, free: 14.59 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.0006306/0.1199, allocations: 0.765 MB / 433.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1201, allocations: 55.91 kB / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1201, allocations: 0 / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.1202, allocations: 8 kB / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1205, allocations: 51.86 kB / 433.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.1222, allocations: 1.549 MB / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1226, allocations: 0.7002 MB / 435.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.1226, allocations: 4.422 kB / 435.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.1227, allocations: 31.42 kB / 435.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1227, allocations: 0 / 435.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.1469, allocations: 2.125 MB / 437.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.733, allocations: 7.969 kB / 437.9 MB, free: 9.25 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.251774347852916]