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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001565, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001386, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.67 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07806, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003204/0.0813, allocations: 1.606 MB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.08249, allocations: 0.6076 MB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.08263, allocations: 11.94 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.08285, allocations: 15.88 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.08295, allocations: 15.84 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.08331, allocations: 67.81 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.08345, allocations: 67.83 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.08357, allocations: 23.95 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.08373, allocations: 39.8 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.08385, allocations: 31.84 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.08388, allocations: 8 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.08393, allocations: 8 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.084, allocations: 19.92 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.08406, allocations: 35.73 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.08422, allocations: 71.72 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.08423, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08424, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.08425, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.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.000544/0.0848, allocations: 395.3 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.08485, allocations: 19.97 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.08491, allocations: 34.75 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.08511, allocations: 24.73 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.08536, allocations: 207.7 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.0854, allocations: 4.375 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.08542, allocations: 15.94 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.0858, allocations: 145.9 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.08582, allocations: 3.938 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.08586, allocations: 4 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.08587, allocations: 0 / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.08599, allocations: 27.98 kB / 361.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.08649, allocations: 286.5 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.08669, allocations: 83.7 kB / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.08679, allocations: 38.75 kB / 361.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.08684, allocations: 8 kB / 361.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.08688, allocations: 30.56 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.08688, allocations: 0 / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003867/0.08728, allocations: 109.4 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.0874, allocations: 115.1 kB / 361.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.08759, allocations: 150.4 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.08762, allocations: 25.7 kB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.0877, allocations: 88.14 kB / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.08773, allocations: 19.88 kB / 362 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.0878, allocations: 21.62 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.08801, allocations: 322.8 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.08808, allocations: 15.98 kB / 362.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.08818, allocations: 77.88 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.08837, allocations: 77.94 kB / 362.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.08838, allocations: 192 / 362.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002255/0.08861, allocations: 105.6 kB / 362.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.08865, allocations: 15.97 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.08866, allocations: 0 / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.08869, allocations: 4 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.08881, allocations: 19.92 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.08883, allocations: 0 / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.0889, allocations: 11.88 kB / 362.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.08892, allocations: 4 kB / 362.7 MB, free: 8.574 MB / 302.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.0002279/0.08916, allocations: 133.7 kB / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.0893, allocations: 73.58 kB / 362.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.08936, allocations: 12.31 kB / 362.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.08937, allocations: 0 / 362.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.08938, allocations: 0 / 362.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.0894, allocations: 11.92 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.08967, allocations: 174 kB / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.08969, allocations: 3.984 kB / 363.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.08977, allocations: 15.94 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.2e-05/0.08981, allocations: 4 kB / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.08983, allocations: 0 / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.08983, allocations: 0 / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.08984, allocations: 8.031 kB / 363.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.09014, allocations: 193.1 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.09025, allocations: 100.9 kB / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.09029, allocations: 0 / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.09036, allocations: 4 kB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.09043, allocations: 15.86 kB / 363.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.09044, allocations: 4 kB / 363.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.09057, allocations: 118.8 kB / 363.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09058, allocations: 0 / 363.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.09088, allocations: 8 kB / 363.5 MB, free: 7.605 MB / 302.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.0008993/0.09178, allocations: 0.7531 MB / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.09201, allocations: 68.03 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.09203, allocations: 0 / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.09207, allocations: 8.438 kB / 364.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.09246, allocations: 55.88 kB / 364.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.09418, allocations: 1.544 MB / 366 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.09462, allocations: 0.7007 MB / 366.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.0947, allocations: 12.42 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.09478, allocations: 23.44 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09479, allocations: 0 / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2105/0.3053, allocations: 2.048 MB / 368.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.428, allocations: 3.859 kB / 368.7 MB, free: 2.336 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches